<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/passlib/crypto, 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>passlib.handlers.scrypt: created scrypt hash handler, complete with UTs and docs</title>
<updated>2016-06-11T00:21:32+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-06-11T00:21:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=83280f2468e6119bdeca4cb4a90712496985254d'/>
<id>83280f2468e6119bdeca4cb4a90712496985254d</id>
<content type='text'>
* scrypt kdf code

  - relocated scrypt kdf code to passlib.crypto.scrypt

  - py3 compat fixes

  - split UTs out into separate file

  - removed "non-power of 2" support, not needed.

  - added wrapper which can toggle between builtin backend,
    and extenrnal scrypt package.

  - factored out n/r/p validation code so it can be used independantly
    of calling kdf itself.

* passlib.handlers.scrypt: added scrypt handler which wraps the kdf.

  - added some custom test strings, as well as adapted some reference values
    from the scrypt whitepaper.

  - added documentation page

  - integrated scrypt kdf wrapper w/ hash's HasManyBackends api
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* scrypt kdf code

  - relocated scrypt kdf code to passlib.crypto.scrypt

  - py3 compat fixes

  - split UTs out into separate file

  - removed "non-power of 2" support, not needed.

  - added wrapper which can toggle between builtin backend,
    and extenrnal scrypt package.

  - factored out n/r/p validation code so it can be used independantly
    of calling kdf itself.

* passlib.handlers.scrypt: added scrypt handler which wraps the kdf.

  - added some custom test strings, as well as adapted some reference values
    from the scrypt whitepaper.

  - added documentation page

  - integrated scrypt kdf wrapper w/ hash's HasManyBackends api
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.crypto: relocated bcrypt backend code from passlib.utils</title>
<updated>2016-06-10T17:17:40+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-06-10T17:17:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=5b451592878d2654acdd8fa9fdd53f35b0d2a3fe'/>
<id>5b451592878d2654acdd8fa9fdd53f35b0d2a3fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>
