Represents a X25519 public key with associated salt.
More...
#include <encryption.hpp>
|
enum | { key_size = 32
, salt_size = 32
} |
| Size in octets of key and salt.
|
|
|
| operator bool () const |
|
bool | operator== (public_key const &rhs) const |
|
bool | operator!= (public_key const &rhs) const |
|
bool | operator< (public_key const &rhs) const |
|
std::string | to_base64 (bool pad=true) const |
|
|
static public_key | from_base64 (std::string_view const &base64) |
|
static public_key | from_base64 (std::wstring_view const &base64) |
|
|
std::vector< uint8_t > | key_ |
|
std::vector< uint8_t > | salt_ |
|
Represents a X25519 public key with associated salt.
- See also
- private_key
The documentation for this class was generated from the following file: