[][src]Crate iota_crypto

Crypto used by Iota

Structs

Curl

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

Kerl

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

Enums

HashMode

Mode allows for mode selection to rely on rusts type system

Constants

FRAGMENT_LENGTH

Length of a fragment

NORMALIZED_FRAGMENT_LENGTH

Normalized fragment length

NUMBER_OF_FRAGMENT_CHUNKS

Number of fragment chunks

NUMBER_OF_SECURITY_LEVELS

The amount of valid security levels

TRYTE_WIDTH

The width of tryte

Traits

Sponge

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

Functions

address

Generate address

digest

Generate a digest

digest_in_place

Hash digest in place

digests

Generate digests

get_merkle_root

Retrieve the merkle root

hash_with_mode

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

key

Key a subseed

normalized_bundle

Generate normalize bundle

normalized_bundle_in_place

Normalize a bundle in place

signature_fragment

Generate a signature fragment

subseed

Create a subseed