[pycrypto] Mimicking PHP crypt() with pycrypto

Michal Zimmermann zimmicz at gmail.com
Sat Sep 13 06:51:39 PDT 2014

I need to create python implementation of blowfish algorithm similar to PHP's
crypt <http://php.net/manual/en/function.crypt.php> with CRYPT_BLOWFISH
algorithm. Is that possible? I went through docs and I am not sure what
arguments for pycrypt's implementation of blowfish stand for.
What I would love to achieve is something like
PHP: crypt(string, salt) == Python: Crypto.Cipher.Blowfish(string, salt)

Any help appreciated.

Michal Zimmermann (zimmi)
WWW: http://www.zimmi.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dlitz.net/pipermail/pycrypto/attachments/20140913/60d6c68d/attachment.html>

More information about the pycrypto mailing list