The program lib/crypt_prog can be used for several purposes:
-genkey n private_keyfile public_keyfile
Create a key pair with n bits (always use 1024).
Write the keys in encoded ASCII form to the indicated files.
-sign file private_keyfile
Create a digital signature for the given file. Write it in encoded
ASCII to stdout.
-verify file signature_file public_keyfile
Verify a signature for the given file.
-test_crypt private_keyfile public_keyfile
Perform an internal test, checking that encryption followed by
decryption works.