[][src]Crate mohan

Re-exports

pub use bytes;
pub use byteorder;
pub use curve25519_dalek as dalek;
pub use blake2b_simd as blake2;

Modules

base58

base58 Base58 encoder and decoder

hash

Various Hash functions & types Hash Functions

hex

To & From Hex

ser

Serilization Serialization and deserialization layer specialized for binary encoding. Ensures consistency and safety.

sponge

Keccak-f sponge function Keccak sponge function.

sync

Parking Lot backed Sync Primitives Organism Sync Utils

tai64

64bit Time handling TAI64(N) timestamp generation, parsing and calculation.

tools

That extra sauce

Structs

U256

Little-endian large integer type

VarInt

A variable-length unsigned integer

Functions

fast_merkle_root
fisher_yates

The in place Fisher-Yates shuffle. Based on [Fisher–Yates shuffle].

mohan_rand
zeroize_hack

A hack function to use zeroize