Re: cryptmodule.c

Guido.van.Rossum@cwi.nl
Tue, 17 May 1994 11:40:51 +0200

Oops. Now we have two incompatible crypt modules that try to do the
same thing. I think I prefer the simplicity of Steve Majewski's
"crypt.crypt(passwd, salt)" over Andy's "crypt.Encrype(passwd, salt)"
interface (also because in general the custom for such modules is to
provide a minimal amount of glue around the C routine, and to give it
the same name).

In the sake of keeping the Python interpreter small, and acknowledging
that most of the time the crypt module is used to verify passwords,
not to set them, I would propose to use Steve's version. Deriving a
salt from the current time of day is easy enough in Python...

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>