cryptest(1)
๐ cryptest โ the manual page, but make it cute ๐
okay so bestie, welcome to cryptest(1), from the General Commands Manual. this is the Test Driver for Crypto++, which is a C++ Class Library of Cryptographic Primitives. that's a lot of capital letters, i know, but it's literally just the lil test-driver tool that ships with Crypto++ so you can poke at crypto primitives and see them go โจ
๐ธ SYNOPSIS ๐ธ
cryptest [OPTION]
that's it. that's the whole vibe. one option at a time, bestie ๐
โจ DESCRIPTION โจ
cryptest takes the following options โ and yes, i'm giving you all of them, no skips, no crumbs:
gโ generate an RSA key ๐hโ display usage information (the classic cry for help menu, we love her)rโ encrypt and decrypt a string using RSA ๐rsprivatekeyfile messagefile signaturefile โ sign a file using RSA โ๏ธrvpublickeyfile messagefile signaturefile โ verify a signature of a file using RSA โmfile โ calculate MD5, SHA, and RIPEMD-160 message digests ๐งฎtโ encrypt and decrypt a string using DES-EDE in CBC mode (vintage behavior, highkey iconic)e|dinput output โ encrypt or decrypt a file ๐ss<threshold> <number-of-shares> file โ secret share a file. heads up: the shares will be namedfile.000,file.001, etc ๐srfile share1 share2[....]โ reconstruct a secret-shared file. the number of shares given must be equal to threshold, no cap ๐งฉid<threshold> <number-of-shares> file โ information disperse a file. again, shares will be namedfile.000,file.001, etc ๐irfile share1 share2[....]โ reconstruct an information-dispersed file. and again, the number of shares given must be equal to threshold ๐งฉz<compression-level> input output โ gzip a file ๐๏ธuinput output โ gunzip a file ๐ซงaeinput output โ encrypt a file with AES in CTR mode ๐ก๏ธe64input output โ base64 encode a filed64input output โ base64 decode a filee16input output โ hex encode a filed16input output โ hex decode a fileftsource-port destination-host destination-port โ forward a TCP connection ๐fipsโ run the FIPS 140-2 sample application ๐fips-randโ generate 100000 random files using FIPS Approved X.917 RNG ๐ฒ (yes, one hundred thousand. she's committed.)mtinput โ run Maurer's randomness test on a file ๐ฐvโ run validation tests ๐งชVโ display version number (capital V, lowercase v, they are NOT the same bestie, do not mix them up ๐ญ)b[time for each benchmark in seconds][frequency of CPU in gigahertz]โ run benchmarks โฑ๏ธtvfilename โ run test vector file. psst: it's available in theTestVectorsexample subdirectory ๐
๐ AUTHOR ๐
this man page was created by Stephen Zander, Pierre Machard and Jens Peter Secher for the Debian distribution ๐ it is licenced under the same terms as the rest of the Crypto++ library, written by Wei Dai.
okay that's the whole thing, you ate it, you understood it, periodt ๐
sign-off time: this page lives in the local corner of the world and it's filed under cryptest(1) โ so if you ever need to find her again, that's where she's at ๐ฆ bye bestie, go encrypt something responsibly ๐
๐ฆ where this page comes from
- debian bookworm: libcrypto++-utils 8.7.0+git220824-1 ยท Boost
- debian trixie: libcrypto++-utils 8.9.0-2 ยท Boost
- ubuntu jammy: libcrypto++-utils 8.6.0-2ubuntu1 ยท Boost
- ubuntu noble: libcrypto++-utils 8.9.0-1.1build1 ยท Boost
- ubuntu questing: libcrypto++-utils 8.9.0-2
- ubuntu resolute: libcrypto++-utils 8.9.0-2build1 ยท Boost
- ubuntu stonking: libcrypto++-utils 8.9.0-3 ยท Boost
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms