diff options
author | Tom Cocagne <devnull@localhost> | 2010-12-31 15:26:43 -0500 |
---|---|---|
committer | Tom Cocagne <devnull@localhost> | 2010-12-31 15:26:43 -0500 |
commit | bb9036d6a3452299ba4270a5b6bd47145e016a84 (patch) | |
tree | a3f2d0b627a20e0fcdce10002fae0c733bca3a7f /_pysrp.py | |
parent | 8d58dad120a39b7fcb8b012ff584686f3fac5a8e (diff) |
renamed gen_sv to create_salted_verification_key
Diffstat (limited to '_pysrp.py')
-rw-r--r-- | _pysrp.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ def gen_x( hash_class, salt, username, password ): -def gen_sv( username, password, hash_alg=SHA1, ng_type=NG_1024, n_hex=None, g_hex=None ): +def create_salted_verification_key( username, password, hash_alg=SHA1, ng_type=NG_1024, n_hex=None, g_hex=None ): if ng_type == NG_CUSTOM and (n_hex is None or g_hex is None): raise ValueError("Both n_hex and g_hex are required when ng_type = NG_CUSTOM") hash_class = _hash_map[ hash_alg ] |