diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-10-20 17:46:14 -0700 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-10-20 17:48:54 -0700 |
commit | 7bb217aedd421fc89120baf98b719bf49c4f5fb7 (patch) | |
tree | a48788bf16521a2b9331b4847f7e681aae38cb99 /lib/Crypto/Protocol | |
parent | 141eee1093bc9adbbdc3b3b3e90bde868d46eeec (diff) | |
download | pycrypto-7bb217aedd421fc89120baf98b719bf49c4f5fb7.tar.gz |
Rename S2V -> _S2V until we come up with a real PRF API
Diffstat (limited to 'lib/Crypto/Protocol')
-rw-r--r-- | lib/Crypto/Protocol/KDF.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Crypto/Protocol/KDF.py b/lib/Crypto/Protocol/KDF.py index 127be0c..c5967e4 100644 --- a/lib/Crypto/Protocol/KDF.py +++ b/lib/Crypto/Protocol/KDF.py @@ -126,7 +126,7 @@ def PBKDF2(password, salt, dkLen=16, count=1000, prf=None): i = i + 1 return key[:dkLen] -class S2V(object): +class _S2V(object): """String-to-vector PRF as defined in `RFC5297`_. This class implements a pseudorandom function family @@ -161,7 +161,7 @@ class S2V(object): ciphermod : module A block cipher module from `Crypto.Cipher`. """ - return S2V(key, ciphermod) + return _S2V(key, ciphermod) new = staticmethod(new) def _double(self, bs): |