summaryrefslogtreecommitdiff
path: root/django/utils/crypto.py
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-07-18 15:37:14 +0200
committernessita <124304+nessita@users.noreply.github.com>2025-07-23 10:09:43 -0300
commit1ecf6889cabc9f3f60d3fdd651468cddd8f4da6e (patch)
tree77eebf89eaf5f1ee6f5947a962caa67b5cca7f4b /django/utils/crypto.py
parent1909108f9f0f2a91c1ec0fcdb65b01f58743a871 (diff)
Removed double spaces after periods and within phrases.
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 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