Migrate from scrypt to sha256. (#8969)
This reduces the server time to compute the hash from 40ms to 5µs, which should remove this as a noticable chunk of CPU time in production. (An attacker who has access to our database will now need only 10^54 years of CPU time instead of 10^58 to brute force a token). Release Notes: - Improved sign in latency by 40ms.
C
Conrad Irwin committed
75a42c27db119305df4278f77d742fb62acf321a
Parent: 4d2156e
Committed by GitHub <noreply@github.com>
on 3/7/2024, 3:51:43 AM