[Python-ideas] Add adaptive-load salt-mandatory hashing functions?

Masklinn masklinn at masklinn.net
Sun Jun 10 20:11:15 CEST 2012


On 2012-06-10, at 20:04 , Simon Sapin wrote:

> Le 10/06/2012 19:56, Gregory P. Smith a écrit :
>>> Yeah, you're probably right. Either a new module, or else in "getpass"
>>> (either way, with a cross-reference from hashlib).
>> 
>> I'd just stick it in hmac myself but getpass was also a good suggestion.
> 
> I disagree. The getpass module is about terminal control, it has nothing to do with hashing. PBKDF2 or other adaptive hashes do not belong there.

It seems there's as many opinions on the subject as there are people
(which was to be expected) when there's no code yet, I'll try to get
something done first (unless somebody else wants to) and discussion of
its exact location in the stdlib can be bikeshed in -dev if and when
that point/paint is reached.


More information about the Python-ideas mailing list