aboutsummaryrefslogtreecommitdiff
path: root/lib/std/crypto
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2020-08-21 15:08:15 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-08-22 15:10:33 -0400
commitf540dc1b7ebc1663ef5d3823da4630ff51c697b6 (patch)
tree9ed45cca43ebad7f0328ff88b12e2fe5ab54d837 /lib/std/crypto
parent0fa3cfdb4aa04bf92c5d9344cd4d265ccb40e0dc (diff)
downloadzig-f540dc1b7ebc1663ef5d3823da4630ff51c697b6.tar.gz
zig-f540dc1b7ebc1663ef5d3823da4630ff51c697b6.zip
cache_hash: hash function change
This makes the `cache_hash` hash function easier to replace. BLAKE3 would be a natural fit for hashing large files, but: - second preimage resistance is not necessary for the cache_hash use cases - our BLAKE3 implementation is currently very slow Switch to SipHash128, which gives us an immediate speed boost.
Diffstat (limited to 'lib/std/crypto')
0 files changed, 0 insertions, 0 deletions