Registry / crypto / warg-crypto

warg-crypto

JSON →
library0.10.0rscratesunverified

A collection of cryptographic primitives for Warg registries.

# Cargo.toml [dependencies] warg-crypto = "0.10.0"
INSTALL
IMPORT
SIG · WARG-CRYPTO
W
warg-crypto
cryptorustv0.10.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.

PrivateKey
use warg_crypto::signing::PrivateKey;

Generate a private key for Warg.

use warg_crypto::signing::PrivateKey; fn main() { let key = PrivateKey::generate(rand::thread_rng()); println!("{:?}", key); }
Debug
Known issues
gotchaRequires the `signing` feature to be enabled.
fix
Add `features = ["signing"]` to Cargo.toml dependency.
affects: >=0.10.0
Upgrade
Version history
0.10.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
Resources
warg-crypto — cargo add warg-crypto · libregistry