simplified the OpenSSL crypter a bit