[pycrypto] SHA Vs SHA1

Anurag Chourasia anurag.chourasia at gmail.com
Tue Dec 28 14:05:17 CST 2010


Hi All,

Is SHA same as SHA-1?

For example, if I am doing this using Crytpo

from Crypto.Hash import SHA
m = SHA.new()
m.update('ABC')
m.digest()
m.hexdigest()

Then am i using SHA-0?

Or am i using SHA-1?

http://en.wikipedia.org/wiki/SHA-1

Please guide.

Regards,
Anurag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dlitz.net/pipermail/pycrypto/attachments/20101229/17550bc4/attachment.htm 


More information about the pycrypto mailing list