Searched refs:passPhrase (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dtest.cpp68 string EncryptString(const char *plaintext, const char *passPhrase);
69 string DecryptString(const char *ciphertext, const char *passPhrase);
71 void EncryptFile(const char *in, const char *out, const char *passPhrase);
72 void DecryptFile(const char *in, const char *out, const char *passPhrase);
260 char passPhrase[MAX_PHRASE_LENGTH], plaintext[1024]; local
263 cin.getline(passPhrase, MAX_PHRASE_LENGTH);
268 string ciphertext = EncryptString(plaintext, passPhrase);
271 string decrypted = DecryptString(ciphertext.c_str(), passPhrase);
286 char passPhrase[MAX_PHRASE_LENGTH]; local
288 cin.getline(passPhrase, MAX_PHRASE_LENGT
[all...]

Completed in 68 milliseconds