diff options
author | Tom Cocagne <devnull@localhost> | 2010-11-29 16:19:48 -0500 |
---|---|---|
committer | Tom Cocagne <devnull@localhost> | 2010-11-29 16:19:48 -0500 |
commit | d518af18513e0a14a9791a209643d19eeaa6567a (patch) | |
tree | 27f71a19f044647af103bdff7bd9b56198bb0b2e /_pysrp.py | |
parent | 6189439d951a0568d117de85f2422a1f5be1ecfe (diff) |
fully implemented and documented
Diffstat (limited to '_pysrp.py')
-rw-r--r-- | _pysrp.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,9 +19,9 @@ import binascii SHA1 = 0 SHA224 = 1 -SHA256 = 3 -SHA384 = 4 -SHA512 = 5 +SHA256 = 2 +SHA384 = 3 +SHA512 = 4 NG_1024 = 0 NG_2048 = 1 @@ -34,7 +34,7 @@ _hash_map = { SHA1 : hashlib.sha1, SHA384 : hashlib.sha384, SHA512 : hashlib.sha512 } - + _ng_const = ( # 1024-bit ('''\ |