Registry / crypto / tari-crypto

tari-crypto

JSON →
library0.23.0rscratesunverified

Cryptographic primitives and utilities for the Tari blockchain protocol.

# Cargo.toml [dependencies] tari_crypto = "0.23.0"
INSTALL
IMPORT
SIG · TARI-CRYPTO
T
tari-crypto
cryptorustv0.23.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.

PublicKey
use tari_crypto::keys::PublicKey;

Create a default Ristretto public key using Tari crypto primitives.

use tari_crypto::keys::PublicKey; use tari_crypto::ristretto::RistrettoPublicKey; fn main() { let pk = RistrettoPublicKey::default(); println!("Public key: {:?}", pk); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.23.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Amazon
1
Resources
tari-crypto — cargo add tari-crypto · libregistry