Home | History | Annotate | Download | only in password_manager

Lines Matching refs:ciphertext

58                                 std::string* ciphertext) {
59 return EncryptString(UTF16ToUTF8(plaintext), ciphertext);
62 bool Encryptor::DecryptString16(const std::string& ciphertext,
65 if (!DecryptString(ciphertext, &utf8))
73 std::string* ciphertext) {
80 *ciphertext = std::string();
93 if (!encryptor.Encrypt(plaintext, ciphertext))
97 ciphertext->insert(0, kObfuscationPrefix);
101 bool Encryptor::DecryptString(const std::string& ciphertext,
108 if (ciphertext.empty()) {
118 if (ciphertext.find(kObfuscationPrefix) != 0) {
119 *plaintext = ciphertext;
124 std::string raw_ciphertext = ciphertext.substr(strlen(kObfuscationPrefix));