#chacha #hash #block #bit #blocks #off #faster

zest4096

ChaCha based hash for faster, larger blocks

25 releases

Uses new Rust 2021

0.1.27 Nov 3, 2021
0.1.26 Nov 3, 2021
0.1.23 Oct 31, 2021

#734 in Cryptography

Download history 56/week @ 2022-07-25 33/week @ 2022-08-01 28/week @ 2022-08-08 1/week @ 2022-08-15 28/week @ 2022-08-22 28/week @ 2022-09-05 1/week @ 2022-09-12 1/week @ 2022-09-26 1/week @ 2022-10-03

374 downloads per month

AGPL-3.0-or-later

20KB
426 lines

Zest hash, 4096 bit block hash:

Features of this crate:

Contains an implementation of zest4096, a fast block hash based off of chacha20, as well as helper functions which uses it.

Contains a fully functional CSPRNG with associated tools, Symmetric 4096 bit encryption (using the hash in GCM mode), Digests of byte slices, etc.

Disclaimer:

The security level of this hash function, and associated tools have not been tested. Use at your own risk.

Hashes of 64 element arrays of identical 64 bit values (such as all 0, all 1, etc) will result in undesireable output.

No runtime deps