botan

Cryptographic algorithms and formats library for C++

brewmacoslinux
Try with needOr install directly
Source

About

Cryptographic algorithms and formats library in C++

Commands

botan

Examples

generate a random encryption key$ botan keygen --algo=RSA --bits=2048
hash a file with SHA-256$ botan hash --algo=SHA-256 /path/to/file
encrypt a file with a password$ botan encrypt --cipher=AES-256 --password mypassword /path/to/file
decrypt a file with a password$ botan decrypt --password mypassword /path/to/encrypted/file
sign a file with a private key$ botan sign --key=/path/to/private/key /path/to/file