Lines Matching refs:privFilename
57 void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed);
59 string RSADecryptString(const char *privFilename, const char *ciphertext);
60 void RSASignFile(const char *privFilename, const char *messageFilename, const char *signatureFilename);
134 char seed[1024], privFilename[128], pubFilename[128];
141 cin >> privFilename;
150 GenerateRSAKey(keyLength, privFilename, pubFilename, seed);
161 char privFilename[128], pubFilename[128];
165 cin >> privFilename;
180 string decrypted = RSADecryptString(privFilename, ciphertext.c_str());
388 void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed)
394 HexEncoder privFile(new FileSink(privFilename));
417 string RSADecryptString(const char *privFilename, const char *ciphertext)
419 FileSource privFile(privFilename, true, new HexDecoder);
427 void RSASignFile(const char *privFilename, const char *messageFilename, const char *signatureFilename)
429 FileSource privFile(privFilename, true, new HexDecoder);