botan@2

C++ library for cryptography, hashing, and encoding algorithms

brewmacoslinux
Try with needOr install directly
Source

About

Cryptographic algorithms and formats library in C++

Commands

botan

Examples

generate random cryptographic keys and passwords$ botan rng --output=key.bin --bytes=32
encrypt and decrypt files with strong algorithms$ botan encrypt --cipher=AES-256/GCM --key=mykey.bin plaintext.txt encrypted.bin
hash a file with SHA256 to verify integrity$ botan hash SHA-256 myfile.bin
generate and manage RSA digital signatures$ botan sign --key=private.pem --format=PEM document.txt > signature.sig
convert between different cryptographic data formats$ botan hex_enc --output=hex_file.txt binary_file.bin