Hi,

I'm proud to announce bcryptWrap; a wrapper for bcrypt, the password-
hashing algorithm used in OpenBSD.

For more information read at <http://pypi.python.org/pypi/bcryptWrap/
>. And the source code is at <http://www.bitbucket.org/ares/bcryptwrap/
>.

To install run:

  $ sudo easy_install bcryptWrap

and to use it, its API is very simple:

>>> from bcrypt_wrap import password
>>> bc_pass = password.Password()
>>> hash = bc_pass.create('crack my pass')
>>> print hash
$2a$10$.tTSzgua095323LkKvOtI.vzsQKw70Wqqm64f5k1Wha.l/0yec87G

>>> bc_pass.valid('crack my pass', hash)
True


NOTE: this algorithm is very interesting for web applications since
that it returns a hash together to a unique salt every time that is
called. The length is of 60 chars., so it is only necessary a field to
manage the passwords.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to