CsCrypto  1.0.1
cipher::secret_key Class Reference

Public Member Functions

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

Static Public Member Functions

static constexpr std::optional< secret_key< SIZE > > from_string (const std::string &key_data)
 

Private Attributes

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

Detailed Description

Definition at line 36 of file sym_secret_key.h.