Registry / crypto / fluence-keypair

fluence-keypair

JSON →
library0.10.4rscratesunverified

Unified keypair API based on libp2p-identity for the Fluence network.

# Cargo.toml [dependencies] fluence-keypair = "0.10.4"
INSTALL
IMPORT
SIG · FLUENCE-KEYPAIR
F
fluence-keypair
cryptorustv0.10.4
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.

KeyPair
✓ use fluence_keypair::KeyPair;

Generates a new Ed25519 keypair and prints the public key.

use fluence_keypair::KeyPair; fn main() -> Result<(), Box<dyn std::error::Error>> { let keypair = KeyPair::generate_ed25519(); let public_key = keypair.public(); println!("{:?}", public_key); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
fluence-keypair — cargo add fluence-keypair · libregistry