make get_cipher_handle static