sgns::crypto¶
Functions¶
| Name | |
|---|---|
| base::Hash64 | twox_64(gsl::span< const uint8_t > buffer) |
| base::Hash128 | twox_128(gsl::span< const uint8_t > buffer) |
| base::Hash128 | blake2b_128(gsl::span< const uint8_t > buffer) |
| base::Hash256 | twox_256(gsl::span< const uint8_t > buffer) |
| base::Hash256 | blake2b_256(gsl::span< const uint8_t > buffer) |
| base::Hash256 | keccak_256(gsl::span< const uint8_t > buffer) |
| base::Hash256 | blake2s_256(gsl::span< const uint8_t > buffer) |
| base::Hash256 | sha2_256(gsl::span< const uint8_t > buffer) |
| base::Hash256 | sha2_256(const void * data, size_t size) |
| base::Hash256 | sha256(std::string_view input) |
| base::Hash256 | sha256(gsl::span< const uint8_t > input) |
| std::vector< uint8_t > | sha256(const void * data, size_t dataSize) |
| void | make_twox64(const uint8_t * in, uint32_t len, uint8_t * out) |
| base::Hash64 | make_twox64(gsl::span< const uint8_t > buf) |
| void | make_twox128(const uint8_t * in, uint32_t len, uint8_t * out) |
| base::Hash128 | make_twox128(gsl::span< const uint8_t > buf) |
| void | make_twox256(const uint8_t * in, uint32_t len, uint8_t * out) |
| base::Hash256 | make_twox256(gsl::span< const uint8_t > buf) |
Functions Documentation¶
function twox_64¶
function twox_128¶
function blake2b_128¶
function twox_256¶
function blake2b_256¶
function keccak_256¶
function blake2s_256¶
function sha2_256¶
function sha2_256¶
function sha256¶
Parameters:
- input to be hashed
Return: hashed bytes
Take a SHA-256 hash from string
function sha256¶
Parameters:
- input to be hashed
Return: hashed bytes
Take a SHA-256 hash from bytes
function sha256¶
function make_twox64¶
function make_twox64¶
function make_twox128¶
function make_twox128¶
function make_twox256¶
function make_twox256¶
Updated on 2026-08-06 at 13:59:18 +0000