469,362 Members | 2,417 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,362 developers. It's quick & easy.

Standard Python 2.4 module like "crypt" for Windows?

Is there a module available in the standard library, for Python 2.4
running on Windows, like "crypt" for Python 2.4 running on *nix
machines?

I need to store database passwords in a Python 2.4 script, but
obviously don't want them in clear text.

I'm looking for a reasonable level of security. What are some of my
options?

Also wondering if, for PythonWin, there is a module that will display
asterisks rather than echo entered passwords in clear text. I see I
have access to the getpass module, but I can't get it to work--it
still echos typed-in passwords to the screen as clear text.
Dec 11 '07 #1
1 3623
Is there a module available in the standard library, for Python 2.4
running on Windows, like "crypt" for Python 2.4 running on *nix
machines?
I can't try right now, but I would expect that the Cygwin python
distribution has a crypt implementation.

If you want a crypt implementation for the python.org distribution,
the easiest (but perhaps not fastest) solution would be to use
fcrypt.

Regards,
Martin
Dec 11 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Paul Fournier | last post: by
21 posts views Thread by Boris Genc | last post: by
92 posts views Thread by Reed L. O'Brien | last post: by
3 posts views Thread by Skybuck Flying | last post: by
40 posts views Thread by Steve Juranich | last post: by
12 posts views Thread by Matthew Wilson | last post: by
3 posts views Thread by JamesB | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.