Add encrypt_for_openssl and decrypt_from_openssl functionality