summaryrefslogtreecommitdiff
path: root/django/utils/crypto.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/crypto.py')
-rw-r--r--django/utils/crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/crypto.py b/django/utils/crypto.py
index db19db91d3..3837e64e05 100644
--- a/django/utils/crypto.py
+++ b/django/utils/crypto.py
@@ -20,7 +20,7 @@ def salted_hmac(key_salt, value, secret=None, *, algorithm='sha1'):
"""
Return the HMAC of 'value', using a key generated from key_salt and a
secret (which defaults to settings.SECRET_KEY). Default algorithm is SHA1,
- but any algorithm name supported by hashlib.new() can be passed.
+ but any algorithm name supported by hashlib can be passed.
A different key_salt should be passed in for every application of HMAC.
"""