Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ellectroid/sha-256-little-endian-self-contained
SHA-256 Little Endian Self-Contained
https://github.com/ellectroid/sha-256-little-endian-self-contained
Last synced: about 22 hours ago
JSON representation
SHA-256 Little Endian Self-Contained
- Host: GitHub
- URL: https://github.com/ellectroid/sha-256-little-endian-self-contained
- Owner: ellectroid
- License: unlicense
- Created: 2023-06-21T23:35:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-21T23:58:59.000Z (over 1 year ago)
- Last Synced: 2023-09-30T05:58:12.283Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SHA-256-Little-Endian-Self-Contained
Basic self-contained implementation of SHA-256.
Requirements: -fno-strict-aliasing
Properties:
- Implementation for little-endian system
- Only byte data access, no memory alignment required
- All memory, including for constants, is allocated on stack on function call (easily modifiable)
- 32-bit input data byte length (easily modifiable)Possible improvement (?): not use uint32_t Hash[8] at all and use the Output itself as a hash buffer.