Skip to main content

crypto::Aes

Types

DecryptCbc#

using crypto::Aes::DecryptCbc =  Crypt 

Type: Crypt

DecryptEcb#

using crypto::Aes::DecryptEcb =  Crypt 

Type: Crypt

EncryptCbc#

using crypto::Aes::EncryptCbc =  Crypt 

Type: Crypt

EncryptEcb#

using crypto::Aes::EncryptEcb =  Crypt 

Type: Crypt

InitializationVector#

using crypto::Aes::InitializationVector =  var::Array<u8, 16> 

Type: var::Array< u8, 16 >

Iv#

using crypto::Aes::Iv =  InitializationVector 

Type: InitializationVector

Key128#

using crypto::Aes::Key128 =  var::Array<u8, 16> 

Type: var::Array< u8, 16 >

Key256#

using crypto::Aes::Key256 =  var::Array<u8, 32> 

Type: var::Array< u8, 32 >

Functions

Aes()#

crypto::Aes::Aes ()

Aes(Aes &&a) noexcept#

inline

crypto::Aes::Aes (Aes &&a) noexcept

Aes(const Aes &a)=delete#

crypto::Aes::Aes (const Aes &a)=delete

~Aes()#

crypto::Aes::~Aes ()

decrypt_cbc(const DecryptCbc &options) const#

const Aes & crypto::Aes::decrypt_cbc (const DecryptCbc &options) const

Type: const Aes &

Parameters:

decrypt_cbc(var::View input) const#

inline

var::Data crypto::Aes::decrypt_cbc (var::View input) const

Type: var::Data

Parameters:

decrypt_ecb(const DecryptEcb &options) const#

const Aes & crypto::Aes::decrypt_ecb (const DecryptEcb &options) const

Type: const Aes &

Parameters:

decrypt_ecb(var::View input) const#

inline

var::Data crypto::Aes::decrypt_ecb (var::View input) const

Type: var::Data

Parameters:

encrypt_cbc(const EncryptCbc &options) const#

const Aes & crypto::Aes::encrypt_cbc (const EncryptCbc &options) const

Type: const Aes &

Parameters:

encrypt_cbc(var::View input) const#

inline

var::Data crypto::Aes::encrypt_cbc (var::View input) const

Type: var::Data

Parameters:

encrypt_ecb(const EncryptEcb &options) const#

const Aes & crypto::Aes::encrypt_ecb (const EncryptEcb &options) const

Type: const Aes &

Parameters:

encrypt_ecb(var::View input) const#

inline

var::Data crypto::Aes::encrypt_ecb (var::View input) const

Type: var::Data

Parameters:

initialization_vector() const#

inline

const InitializationVector & crypto::Aes::initialization_vector () const

Type: const InitializationVector &

operator=(Aes &&a) noexcept#

inline

Aes & crypto::Aes::operator= (Aes &&a) noexcept

Type: Aes &

Parameters:

operator=(const Aes &aes)=delete#

Aes & crypto::Aes::operator= (const Aes &aes)=delete

Type: Aes &

Parameters:

  • const Aes & aes

set_initialization_vector(const var::View &value)#

Aes & crypto::Aes::set_initialization_vector (const var::View &value)

Type: Aes &

Parameters:

set_key128(const var::View &key)#

Aes & crypto::Aes::set_key128 (const var::View &key)

Type: Aes &

Parameters:

set_key256(const var::View &key)#

Aes & crypto::Aes::set_key256 (const var::View &key)

Type: Aes &

Parameters:

Static Functions

get_padded_data(const var::View input, u8 padding_value=0xff)#

inline

static var::Data crypto::Aes::get_padded_data (const var::View input, u8 padding_value=0xff)

Type: var::Data

Parameters:

get_padding(size_t input_size)#

inline

static size_t crypto::Aes::get_padding (size_t input_size)

Type: size_t

Parameters:

  • size_t input_size