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
- Host: GitHub
- URL: https://github.com/retrodev256/arb_hash
- Owner: RetroDev256
- License: gpl-3.0
- Created: 2022-04-06T08:52:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-07T09:26:29.000Z (about 4 years ago)
- Last Synced: 2025-01-11T05:17:01.056Z (over 1 year ago)
- Language: C
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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