https://github.com/arnaud-robin/shake128
Implementation of SHAKE128 in c++.
https://github.com/arnaud-robin/shake128
cpp cryptography fips202 shake128
Last synced: 2 months ago
JSON representation
Implementation of SHAKE128 in c++.
- Host: GitHub
- URL: https://github.com/arnaud-robin/shake128
- Owner: arnaud-robin
- License: gpl-3.0
- Created: 2020-03-25T14:31:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-25T14:35:11.000Z (about 5 years ago)
- Last Synced: 2023-09-28T15:18:40.923Z (over 1 year ago)
- Topics: cpp, cryptography, fips202, shake128
- Language: C++
- Size: 16.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# SHAKE128
This is an implementation of SHAKE128, according to the FIPS202 standard. This project was made for a computer science course in cryptography, and should not be considered secure nor robust.
## Installation
Run `make` command to build the files.
## Test and usage
You can launch the program using the following command:
```bash
./shake128 n < input
```
where `n` is the number of output bytes you want, and `input` being the file you want to hash. The output will be given in standard hexadecimal form.
You can test the software using this command, and you should get the corresponding output:
```console
➜ ./shake128 32 < /dev/null
7f9c2ba4e88f827d616045507605853ed73b8093f6efbc88eb1a6eacfa66ef26
```