An open API service indexing awesome lists of open source software.

https://github.com/retrodev256/arb_hash

Arbitrary block length hash function, potentially cryptographically secure. Passes BigCrush
https://github.com/retrodev256/arb_hash

Last synced: about 1 year ago
JSON representation

Arbitrary block length hash function, potentially cryptographically secure. Passes BigCrush

Awesome Lists containing this project

README

          

# arb_hash
Arbitrary block length hash function, potentially cryptographically secure. Passes BigCrush

Usage:
- Create two AHBlock structures, for the input to the hash function, and the output from the hash function
- The data field should consist of a pointer to N bytes of memory, with the count field set to N
- The output structure must have at least the same value for N
- The input and output must point to seperate, non overlapping places in memory
- The value for N in both the input and output structures must be at least 3
- The number of rounds supplied to the hash function must be at least 1