diff options
| author | Frank Denis <github@pureftpd.org> | 2020-10-24 22:40:20 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-10-25 21:11:40 -0400 |
| commit | 1b4ab749cffeff146b21fb0f6d30a5b8d2186765 (patch) | |
| tree | bc37f18bfe60551721551a66905bf36ce130b7cd /src/Compilation.zig | |
| parent | 2a0a11aa6632aa3180ebb1c528b0d1fcb970d5ff (diff) | |
| download | zig-1b4ab749cffeff146b21fb0f6d30a5b8d2186765.tar.gz zig-1b4ab749cffeff146b21fb0f6d30a5b8d2186765.zip | |
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.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
