aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-27 22:32:11 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-01-28 11:18:26 -0600
commitb6d764c3f28837ed8854dfa836029a0b4650246f (patch)
tree20350ecfa9b0f671f2f74bde0ecafa33679b2bc2 /cryptography
parent1050ddf44f0713a587cd0ba239e23c95064a39bc (diff)
downloadcryptography-b6d764c3f28837ed8854dfa836029a0b4650246f.tar.gz
cryptography-b6d764c3f28837ed8854dfa836029a0b4650246f.tar.bz2
cryptography-b6d764c3f28837ed8854dfa836029a0b4650246f.zip
pbkdf2 docs
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/hazmat/primitives/kdf/pbkdf2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/kdf/pbkdf2.py b/cryptography/hazmat/primitives/kdf/pbkdf2.py
index cc01246f..014529b0 100644
--- a/cryptography/hazmat/primitives/kdf/pbkdf2.py
+++ b/cryptography/hazmat/primitives/kdf/pbkdf2.py
@@ -43,4 +43,4 @@ class PBKDF2(object):
def verify(self, key_material, expected_key):
if not constant_time.bytes_eq(key_material, expected_key):
- raise InvalidKey("Signature did not match digest.")
+ raise InvalidKey("Keys do not match.")