I would like to know what salt values are used when hash passwords.
I followed the sauce, but I didn't know.
I'm wondering if it's SECRET-KEY from setting.py.
Please tell me who it is.
django
It depends on the hasher, but I think it's around here.
https://github.com/django/django/blob/b9cf764be62e77b4777b3a75ec256f6209a57671/django/utils/crypto.py#L48-L69
12-digit random alphanumeric string of SHA256 generated from the internal state, time, and SECRET_KEY combination of the random number generator.
© 2024 OneMinuteCode. All rights reserved.