minssl
Software
www.skarnet.org
The kcdsa224-sign program
kcdsa224-sign computes a digital signature with the EC-KCDSA
algorithm on the NIST-approved P-224 elliptic curve. You can check the
kcdsa224 library page for links to papers
detailing this algorithm.
Interface
kcdsa224-sign < message > signature
- kcdsa224-sign reads a private key
from the file specified by the MINSSL_PRIVKEYFILE environment
variable. It complains and exits if the variable is not set.
- It reads a public key from the file
specified by the MINSSL_PUBKEYFILE environment variable. If the
variable is not set, the public key is recomputed from the private key.
- It reads a complete message on stdin, until stdin closes.
- It then computes and writes a digital signature
of the message on stdout.