Registry / crypto / solana-libra-crypto

solana-libra-crypto

JSON →
library0.0.0rscratesunverified

Libra crypto library providing cryptographic primitives used in the Solana and Libra blockchains.

# Cargo.toml [dependencies] solana_libra_crypto = "0.0.0"
INSTALL
IMPORT
SIG · SOLANA-LIBRA-CRYPT
S
solana-libra-crypto
cryptorustv0.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.

HashValue
use solana_libra_crypto::hash::HashValue;

Generates a random hash value using the crypto library.

use solana_libra_crypto::hash::HashValue; fn main() { let hash = HashValue::random(); println!("Random hash: {:?}", hash); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
solana-libra-crypto — cargo add solana-libra-crypto · libregistry