20 #ifndef RIPPLE_PROTOCOL_TOKENS_H_INCLUDED
21 #define RIPPLE_PROTOCOL_TOKENS_H_INCLUDED
23 #include <ripple/basics/Expected.h>
24 #include <ripple/basics/contract.h>
25 #include <ripple/protocol/impl/token_errors.h>
100 [[nodiscard]] B58Result<std::span<std::uint8_t>>
106 [[nodiscard]] B58Result<std::span<std::uint8_t>>
122 B58Result<std::span<std::uint8_t>>
127 B58Result<std::span<std::uint8_t>>
std::string decodeBase58Token(std::string const &s, TokenType type)
std::string decodeBase58Token(std::string const &s, TokenType type)
std::string encodeBase58Token(TokenType type, void const *token, std::size_t size)
Integers of any length that is a multiple of 32-bits.
std::string decodeBase58(std::string const &s)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::string encodeBase58(void const *message, std::size_t size, void *temp, std::size_t temp_size)
std::string encodeBase58Token(TokenType type, void const *token, std::size_t size)
Encode data in Base58Check format using XRPL alphabet.
std::optional< AccountID > parseBase58(std::string const &s)
Parse AccountID from checked, base58 string.