Module garage_util::data[][src]

Expand description

Contains common types and functions related to serialization and integrity

Structs

An array of 32 bytes

Functions

Compute the blake2 of a slice

Serialize to JSON, truncating long result

Compute a (non cryptographic) of a slice

Generate a random 32 bytes UUID

Serialize to MessagePack

Compute the sha256 of a slice

Type Definitions

A 64 bit non cryptographic hash

A 256 bit cryptographic hash, can be sha256 or blake2 depending on provenance

A 32 bytes UUID