Registry / crypto / starknet-crypto

starknet-crypto

JSON →
library0.8.1rscratesunverified

Low-level cryptography utilities for Starknet.

# Cargo.toml [dependencies] starknet-crypto = "0.8.1"
INSTALL
IMPORT
SIG · STARKNET-CRYPTO
S
starknet-crypto
cryptorustv0.8.1
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.

pedersen_hash
use starknet_crypto::pedersen_hash;

Computes a Pedersen hash using StarkNet crypto.

use starknet_crypto::pedersen_hash; fn main() { let hash = pedersen_hash(&[1u8; 32], &[2u8; 32]); println!("Hash: {:?}", hash); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
starknet-crypto — cargo add starknet-crypto · libregistry