Skip to main content

Crate blueprint_crypto_hashing

Crate blueprint_crypto_hashing 

Source
Expand description

Hashing and key derivation primitives for Tangle Blueprints.

Provides feature-gated access to common cryptographic hash functions and KDFs:

FeatureFunction(s)
sha2-hashersha2_256, sha2_512
sha3-hasherkeccak_256
blake3-hasherblake3_256
kdf-hkdfkdf::hkdf_sha256
kdf-argon2kdf::argon2id_derive, kdf::argon2id_derive_with

Modules§

kdf
Key derivation functions (HKDF, Argon2id).

Functions§

blake3_256
Compute BLAKE3-256 hash of data.
keccak_256
Compute Keccak-256 hash of data.
sha2_256
Compute SHA2-256 hash of data.
sha2_512
Compute SHA2-512 hash of data.