3 ms·
I was curious how bcrypt-ruby would handle this. It does not throw an error for input length larger than 72. However the actual API for the gem makes it prett
by jmuguy 2y ago
I was curious how bcrypt-ruby would handle this. It does not throw an error for input length larger than 72. However the actual API for the gem makes it pretty clear its for hashing a password, and not just hashing in general - as you can see from the code.
https://gist.github.com/neontuna/dffd0452d09a0861106c0a46669a3ff0 https://gist.github.com/neontuna/dffd0452d09a0861106c0a46669...