Re:Tell HN: Zoom truncates passwords to 32 chars
by rcxdude on Wednesday April 01, 2020 @12:59PM
(#22750881)
Is there a cryptographic hash algorithm that doesn't? It seems like that would make it non-cryptographic (since you will need to read each byte at least once).
Re:Tell HN: Zoom truncates passwords to 32 chars
by Dylan16807 on Wednesday April 01, 2020 @01:11PM
(#22751038)
Reading each byte once only takes a few microseconds. That's not the issue.
What you need is for the slow core of the algorithm to be fixed-speed.
Either by only reading the input bytes during initialization, or by only feeding a fixed number of input bytes into the core during each round.
There's no need to have a cap bigger than a kilobyte though.