Lines Matching refs:Encryptor
20 #include "crypto/encryptor.h"
26 using crypto::Encryptor;
133 Encryptor encryptor;
134 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC,
139 if (!encryptor.Encrypt(plaintext.str(), &ciphertext))
175 Encryptor encryptor;
176 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv))
180 if (!encryptor.Encrypt(value, &ciphertext))
237 Encryptor encryptor;
238 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv))
242 if (!encryptor.Decrypt(ciphertext, value))