libfilezilla
Loading...
Searching...
No Matches
public_key Class Reference

Represents a X25519 public key with associated salt. More...

#include <encryption.hpp>

Public Types

enum  { key_size = 32 , salt_size = 32 }
 Size in octets of key and salt.

Public Member Functions

 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 Member Functions

static public_key from_base64 (std::string_view const &base64)
static public_key from_base64 (std::wstring_view const &base64)

Public Attributes

std::vector< uint8_t > key_
std::vector< uint8_t > salt_

Detailed Description

Represents a X25519 public key with associated salt.

See also
private_key

The documentation for this class was generated from the following file: