CsCrypto  1.0.1
cipher::init_vector Class Reference

Public Member Functions

template<typename T>
explicit constexpr init_vector (const T (&iv)[SIZE])
 
constexpr init_vector (const init_vector< SIZE > &other) = delete
 
constexpr init_vector< SIZE > & operator= (const init_vector< SIZE > &other)=delete &
 
constexpr init_vector (init_vector< SIZE > &&other) = default
 
constexpr init_vector< SIZE > & operator= (init_vector< SIZE > &&other)=default &
 
constexpr std::size_t size () const
 
constexpr auto data () const &
 

Static Public Member Functions

static constexpr std::optional< init_vector< SIZE > > from_string (const std::string &str)
 

Private Attributes

std::array< std::byte, SIZE > m_data
 

Detailed Description

Definition at line 35 of file sym_init_vector.h.