<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/docs/lib/passlib.crypto.digest.rst, branch scrypt-dev</title>
<subtitle>foss.heptapod.net: python-libs/passlib
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/'/>
<entry>
<title>relocated many of the crypto routes inside passlib.utils,</title>
<updated>2016-02-10T19:27:53+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-02-10T19:27:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=7b598fe89d604ef91efd4f71253ffb9ab0aae7c5'/>
<id>7b598fe89d604ef91efd4f71253ffb9ab0aae7c5</id>
<content type='text'>
and moved them to a separate passlib.crypto subpackage.

along with this move, made a few api cleanups:

* unified all code that's looking up hashes
  to use new passlib.crypto.lookup_hash() wrapper, which takes
  care of hash name normalization, loading fallback implementations,
  and alg metadata inspection, all hidden behind a memoized function.

* deprecated pbkdf2() in favor of pbkdf2_hmac() -- only real use,
  and new signature matches stdlib function.  additionally,
  this version is a bit faster, due to some assumptions that
  can be made due to the PRF always being HMAC based.

* added compile_hmac() helper which does an even more efficient
  job of pre-compiling a keyed HMAC function; this helped speed up pbkdf2 a bit more.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and moved them to a separate passlib.crypto subpackage.

along with this move, made a few api cleanups:

* unified all code that's looking up hashes
  to use new passlib.crypto.lookup_hash() wrapper, which takes
  care of hash name normalization, loading fallback implementations,
  and alg metadata inspection, all hidden behind a memoized function.

* deprecated pbkdf2() in favor of pbkdf2_hmac() -- only real use,
  and new signature matches stdlib function.  additionally,
  this version is a bit faster, due to some assumptions that
  can be made due to the PRF always being HMAC based.

* added compile_hmac() helper which does an even more efficient
  job of pre-compiling a keyed HMAC function; this helped speed up pbkdf2 a bit more.
</pre>
</div>
</content>
</entry>
</feed>
