Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
AstralStorm
· 1y ago · 0 comments
It's written with constant memory allocation in mind. Silly of them to use such a small buffer though, make it a configuration option.
Comments
[–]
mras0
1y ago
No, it's due to the construction of bcrypt - it ends up using the password more or less directly as the key for blowfish (the underlying cipher) which is why the limit is there. Check wikipedia for details.
[–]
nothrabannosir
1y ago
I assumed all hashes are in O(1) space? Is there any that’s not?