#include #include #include #include #include "../base64.h" #include "../envelope.h" using namespace std; const char *progname="envelope"; void usage(){ cerr<<"Usage: " < Generate a key with the given number of bits" < Encrypt text on standard input" < Decrypt text on standard input" < used for RSA key generation is the number of bits in the" <= 512"<8192){ cerr<<"Key length too large, please specify length <= 8192"< keyset=RSA::genkeys(keylength); cerr<<"Public key:"<