std/crypto: add the bcrypt password hashing function

The bcrypt function intentionally requires quite a lot of CPU cycles
to complete.

In addition to that, not having its full state constantly in the
CPU L1 cache causes a massive performance drop.

These properties slow down brute-force attacks against low-entropy
inputs (typically passwords), and GPU-based attacks get little
to no advantages over CPUs.
1b4ab749cfFrank Denis committed on 10/26/2020, 1:11:40 AM· committed by Andrew Kelleyparent2a0a11a
2 files changedLine totals unavailable