MCPcopy Create free account
hub / github.com/apache/arrow / Encrypt

Method Encrypt

cpp/src/parquet/encryption/internal_file_encryptor.cc:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int32_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
48InternalFileEncryptor::InternalFileEncryptor(FileEncryptionProperties* properties,

Callers

nothing calls this directly

Calls 2

str2spanFunction · 0.85
as_spanMethod · 0.80

Tested by

no test coverage detected