removed set_cipher() and _get_cipher()