llarp/service/name.hpp
Namespaces
| Name |
|---|
| llarp [crypto.hpp] |
| llarp::service |
Classes
| Name | |
|---|---|
| struct | llarp::service::EncryptedName |
Source code
#pragma once
#include <llarp/crypto/types.hpp>
#include "address.hpp"
namespace llarp::service
{
struct EncryptedName
{
SymmNonce nonce;
std::string ciphertext;
std::optional<Address>
Decrypt(std::string_view name) const;
};
bool
NameIsValid(std::string_view name);
} // namespace llarp::service
Updated on 2026-01-10 at 22:49:45 +0000