[][src]Crate iota_crypto

Structs

Curl

The Curl struct is a Sponge that uses the Curl hashing algorithm.

Keccak

This structure should be used to create keccak/sha3 hash.

Kerl

The Kerl struct is a Sponge that uses the Keccak hashing algorithm.

XofReader

Enums

HashMode

Mode allows for mode selection to rely on rusts type system

Constants

HASH_LENGTH

The length of a hash in IOTA

STATE_LENGTH

The length of the internal state

Traits

Sponge

The sponge trait specifys the main functionality of all sponges used throughout IOTA

Functions

bytes_to_trits

Converts bytes to trits

hash_with_mode

Allows you to hash trits into out using the mode of your choosing

keccak224
keccak256
keccak384
keccak512
keccakf

keccak-f[1600]

sha3_224
sha3_256
sha3_384
sha3_512
shake128
shake256
trits_to_bytes

Converts trits to bytes