| 40 | } |
| 41 | |
| 42 | int32_t Encryptor::Encrypt(std::span<const uint8_t> plaintext, |
| 43 | std::span<uint8_t> ciphertext) { |
| 44 | return aes_encryptor_->Encrypt(plaintext, key_.as_span(), str2span(aad_), ciphertext); |
| 45 | } |
| 46 | |
| 47 | // InternalFileEncryptor |
| 48 | InternalFileEncryptor::InternalFileEncryptor(FileEncryptionProperties* properties, |