diff options
Diffstat (limited to 'django/utils/crypto.py')
| -rw-r--r-- | django/utils/crypto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/crypto.py b/django/utils/crypto.py index 5134b854d6..4b8146695a 100644 --- a/django/utils/crypto.py +++ b/django/utils/crypto.py @@ -35,7 +35,7 @@ def salted_hmac(key_salt, value, secret=None, *, algorithm="sha1"): raise InvalidAlgorithm( "%r is not an algorithm accepted by the hashlib module." % algorithm ) from e - # We need to generate a derived key from our base key. We can do this by + # We need to generate a derived key from our base key. We can do this by # passing the key_salt and our base key through a pseudo-random function. key = hasher(key_salt + secret).digest() # If len(key_salt + secret) > block size of the hash algorithm, the above |
