This is hardly complete coverage of what the library can do, but it
gives some examples of how easy many common operations are when using
Botan. All of these examples (plus many others) are included in the
source distributions.
- ca: A very simplistic CA, which signs PKCS #10
certificate requests.
- fpe: Encrypt and decrypt credit card numbers
using format-preserving encryption.
- row_encryptor show how to
safely and securely encrypt and authenticate many fields of data
using a single user-provided passphrase.
- factor: Factor integers using
Pollard's rho algorithm.
- pkcs10: Generate a PKCS #10 certificate
request, storing the private key in another file.
- self_sig: Generate a self-signed X.509v3
certificate.
- dsa_kgen: Generate an DSA key, and export
the public and private keys to files, with the private key being
encrypted as a PKCS #8 object.
- dsa_sign: Take a PKCS #8 encrypted DSA
private key, decrypt it, and sign a message using it.
- dsa_ver: Verify a signature created by
dsa_sign.