Registry / crypto / casper-hashing

casper-hashing

JSON →
library3.0.0rscratesunverified

A library providing hashing functionality including Merkle Proof utilities for the Casper network.

# Cargo.toml [dependencies] casper-hashing = "3.0.0"
INSTALL
IMPORT
SIG · CASPER-HASHING
C
casper-hashing
cryptorustv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Hash
use casper_hashing::hash::Hash;

Compute hashes and Merkle proofs for Casper blockchain.

use casper_hashing::hash::Hash; fn main() { let data = b"hello"; let hash = Hash::hash(data); println!("{}", hash); }
Debug
Known issues
gotchaDesigned for Casper network; may not be compatible with other systems.
fix
Use standard hashing libraries for non-Casper projects.
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
Amazon
1
Resources
casper-hashing — cargo add casper-hashing · libregistry