A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-September/074508.html below:

[Python-Dev] [Python-3000] 3.0 crypto

[Python-Dev] [Python-3000] 3.0 crypto [Python-Dev] [Python-3000] 3.0 cryptoBill Janssen janssen at parc.com
Sat Sep 8 22:36:39 CEST 2007
> We're already linking against the OpenSSL EVP libraries for hashlib
> (and against the OpenSSL SSL libraries for the SSL support).  It
> wouldn't be hard to expose the EVP functions a bit more, essentially
> as hash functions that return long (and reversible) hashes:
> 
>    encryptor = opensslevp.encryptor("AES-256-CBC", ...maybe some options...)
>    encryptor.update(...some plaintext...)

Almost certainly this signature should be

    encryptor = opensslevp.encryptor("AES-256-CBC", KEY, ...options...)

and correspondingly

    decryptor = opensslevp.decryptor("AES-256-CBC", KEY, ...options...)


Bill
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4