diff options
| author | Marc Tiehuis <marctiehuis@gmail.com> | 2018-01-17 19:40:50 +1300 |
|---|---|---|
| committer | Marc Tiehuis <marctiehuis@gmail.com> | 2018-01-17 21:19:45 +1300 |
| commit | 7a3fd89d253993cbb73c6890974aa6d3f1f01f22 (patch) | |
| tree | b2db42c5be0eab3ea43b4d503b10900ddc214ade /src | |
| parent | dfd53634941ef560971d80dee4b3028e41c9174e (diff) | |
| download | zig-7a3fd89d253993cbb73c6890974aa6d3f1f01f22.tar.gz zig-7a3fd89d253993cbb73c6890974aa6d3f1f01f22.zip | |
Add Sha3 hashing functions
These are on the slower side and could be improved. No performance optimizations
yet have been done.
```
Cpu: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
```
-- Sha3-256
```
Zig --release-fast
93 Mb/s
Zig --release-safe
99 Mb/s
Zig
4 Mb/s
```
-- Sha3-512
```
Zig --release-fast
49 Mb/s
Zig --release-safe
54 Mb/s
Zig
2 Mb/s
```
Interestingly, release-safe is producing slightly better code than
release-fast.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
