Package implements the elliptic curves originally described in RFC 4357
Usage of gost2001:
-derive
Derive shared secret.
-key string
Private/Public key.
-keygen
Generate keypair.
-pub string
Remote's side Public key.
-sign
Sign with Private key.
-signature string
Signature.
-verify
Verify with Public key.
./gost2001 -keygen
./gost2001 -sign -key $prvkey < file.ext > sign.txt
sign=$(cat sign.txt)
./gost2001 -verify -key $pubkey -signature $sign < file.ext
./gost2001 -derive -key $prvkey -pub $pubkey
This project is licensed under the ISC License.