Couchbase C++ SDK 1.2.0 (rev. c2439a4)
Loading...
Searching...
No Matches
couchbase::crypto::internal::aead_aes_256_cbc_hmac_sha512 Namespace Reference

Functions

auto encrypt (std::vector< std::byte > key, std::vector< std::byte > iv, std::vector< std::byte > plaintext, std::vector< std::byte > associated_data) -> std::pair< error, std::vector< std::byte > >
auto decrypt (std::vector< std::byte > key, std::vector< std::byte > ciphertext, std::vector< std::byte > associated_data) -> std::pair< error, std::vector< std::byte > >

Function Documentation

◆ decrypt()

auto decrypt ( std::vector< std::byte > key,
std::vector< std::byte > ciphertext,
std::vector< std::byte > associated_data ) -> std::pair< error, std::vector< std::byte > >

◆ encrypt()

auto encrypt ( std::vector< std::byte > key,
std::vector< std::byte > iv,
std::vector< std::byte > plaintext,
std::vector< std::byte > associated_data ) -> std::pair< error, std::vector< std::byte > >