index
:
django.git
fix-31295
main
stable/5.2.x
stable/6.0.x
django
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
django
/
utils
/
crypto.py
Age
Commit message (
Expand
)
Author
2025-08-27
Fixed #36572 -- Revert "Fixed #36546 -- Deprecated django.utils.crypto.consta...
Sarah Boyce
2025-08-25
Fixed #36546 -- Deprecated django.utils.crypto.constant_time_compare() in fav...
SaJH
2025-07-23
Removed double spaces after periods and within phrases.
Sarah Boyce
2024-01-26
Applied Black's 2024 stable style.
Mariusz Felisiak
2023-01-18
Fixed #34233 -- Dropped support for Python 3.8 and 3.9.
Mariusz Felisiak
2022-02-07
Refs #33476 -- Reformatted code with Black.
django-bot
2021-10-12
Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels.
Ade Lee
2021-01-14
Refs #31359 -- Made get_random_string()'s length argument required.
Mariusz Felisiak
2021-01-13
Refs #31358 -- Added constant for get_random_string()'s default alphabet.
Florian Apolloner
2020-09-07
Fixed #31985 -- Corrected salted_hmac()'s docstring about supported algorithms.
Francisco Couzo
2020-03-11
Fixed typo in django/utils/crypto.py.
Mariusz Felisiak
2020-03-11
Fixed #31359 -- Deprecated get_random_string() calls without an explicit length.
Claude Paroz
2020-01-27
Refs #27468 -- Added algorithm parameter to django.utils.crypto.salted_hmac().
Claude Paroz
2020-01-15
Fixed obsolete comment in django.utils.crypto.salted_hmac().
Mariusz Felisiak
2019-05-20
Fixed #27635 -- Used secrets module in django.utils.crypto.
Nick Pope
2019-05-20
Refs #27635 -- Removed fallback when SystemRandom() isn't available that does...
Nick Pope
2018-01-03
Fixed #28982 -- Simplified code with and/or.
Дилян Палаузов
2017-02-11
Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.
Anton Samarchyan
2017-02-09
Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().
Tim Graham
2017-01-19
Refs #23919 -- Removed obsolete compare_digest() and pbkdf2() implementations.
Tim Graham
2017-01-18
Refs #23919 -- Removed most of remaining six usage
Claude Paroz
2017-01-18
Refs #23919 -- Removed six.PY2/PY3 usage
Claude Paroz
2017-01-18
Refs #23919 -- Removed encoding preambles and future imports
Claude Paroz
2016-11-14
Fixed #27463 -- Fixed E741 flake8 warnings.
Ramin Farajpour Cami
2015-02-06
Sorted imports with isort; refs #23860.
Tim Graham
2014-12-13
Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range
Michael Hall
2014-07-11
Bump the default iterations for PBKDF2.
Alex Gaynor
2014-05-31
Note that the stdlib's version of pbkdf2_hmac will also be used in the upcomi...
Alex Gaynor
2014-05-28
Fixed constant_time_compare on Python 2.7.7
Florian Apolloner
2014-04-22
Use the stdlib's compare_digest for constant time comparisons when available
Alex Gaynor
2014-04-17
Typo fix
Alex Gaynor
2014-04-17
Use the stdlib's PBKDF2 implementation when available.
Alex Gaynor
2014-02-16
Fixed #19980: Signer broken for binary keys (with non-ASCII chars).
MattBlack85
2013-11-05
Flake8 fixes
Alex Gaynor
2013-11-04
Simplify (and very very slightly speed up) the pbkdf2 implementation
Alex Gaynor
2013-10-21
Fixed #21253 -- PBKDF2 with cached HMAC key
Florian Apolloner
2013-10-18
Fixed #21287 -- Fixed E123 pep8 warnings
Alasdair Nicol
2013-09-24
Fixed #21138 -- Increased the performance of our PBKDF2 implementation.
Florian Apolloner
2013-09-19
Increase default PBKDF2 iterations
Paul McMillan
2013-08-30
Fixed #20989 -- Removed useless explicit list comprehensions.
Simon Charette
2013-06-02
Switched to using some constants the hmac module exposes.
Alex Gaynor
2013-03-18
Clarified that constant_time_compare doesn't protect string lengths.
Aymeric Augustin
2013-02-27
[py3] Always fed hashlib with bytes.
Łukasz Langa
2012-08-29
Replaced many smart_bytes by force_bytes
Claude Paroz
2012-08-21
Reverted type check added in 62954ba04c.
Aymeric Augustin
2012-08-20
[py3] Fixed #17040 -- ported django.utils.crypto.constant_time_compare.
Aymeric Augustin
2012-08-07
[py3] Ported django.utils.crypto.
Aymeric Augustin
2012-08-07
[py3] Ported django.utils.encoding.
Aymeric Augustin
2012-07-22
Used a Python 3-compatible syntax for building a translation table
Claude Paroz
2012-07-22
[py3] Added Python 3 compatibility for xrange.
Aymeric Augustin
[next]