Utility for generating, sign and verification message with Dilithium keys.
- install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$HOME/.cargo/env
- install make
sudo apt update
sudo apt install make
- build project
make
- generate - generate key pair
crypto-oqs generate --algorithm dilithium5 --out key.pem
- public - pull the public key from the pair
crypto-oqs public --in key.pem --out pub.pem
- sign - sign the file
crypto-oqs sign --sec key.pem --out signature --file <PATH>
- verify - verification the file
crypto-oqs verify --sig signature --pub pub.pem --file <PATH>