Lines Matching refs:pubFilename
57 void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed);
58 string RSAEncryptString(const char *pubFilename, const char *seed, const char *message);
61 bool RSAVerifyFile(const char *pubFilename, const char *messageFilename, const char *signatureFilename);
134 char seed[1024], privFilename[128], pubFilename[128];
144 cin >> pubFilename;
150 GenerateRSAKey(keyLength, privFilename, pubFilename, seed);
161 char privFilename[128], pubFilename[128];
168 cin >> pubFilename;
177 string ciphertext = RSAEncryptString(pubFilename, seed, message);
388 void GenerateRSAKey(unsigned int keyLength, const char *privFilename, const char *pubFilename, const char *seed)
399 HexEncoder pubFile(new FileSink(pubFilename));
404 string RSAEncryptString(const char *pubFilename, const char *seed, const char *message)
406 FileSource pubFile(pubFilename, true, new HexDecoder);
434 bool RSAVerifyFile(const char *pubFilename, const char *messageFilename, const char *signatureFilename)
436 FileSource pubFile(pubFilename, true, new HexDecoder);