472,102 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

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 3748
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.