Skip to content

src/crypto/twox/twox.hpp

Namespaces

Name
sgns
sgns::crypto

Functions

Name
base::Hash64 make_twox64(gsl::span< const uint8_t > buf)
base::Hash128 make_twox128(gsl::span< const uint8_t > buf)
base::Hash256 make_twox256(gsl::span< const uint8_t > buf)

Functions Documentation

function make_twox64

base::Hash64 make_twox64(
    gsl::span< const uint8_t > buf
)

function make_twox128

base::Hash128 make_twox128(
    gsl::span< const uint8_t > buf
)

function make_twox256

base::Hash256 make_twox256(
    gsl::span< const uint8_t > buf
)

Source code

#ifndef SUPERGENIUS_CRYPTO_TWOX_HPP
#define SUPERGENIUS_CRYPTO_TWOX_HPP

#include "base/blob.hpp"

namespace sgns::crypto
{
    base::Hash64 make_twox64( gsl::span<const uint8_t> buf );

    base::Hash128 make_twox128( gsl::span<const uint8_t> buf );

    base::Hash256 make_twox256( gsl::span<const uint8_t> buf );
}

#endif

Updated on 2026-03-04 at 13:10:44 -0800