Registry / crypto / tox-crypto

tox-crypto

JSON →
library0.1.1rscratesunverified

Cryptographic primitives used by the Tox peer-to-peer messaging protocol.

# Cargo.toml [dependencies] tox_crypto = "0.1.1"
INSTALL
IMPORT
SIG · TOX-CRYPTO
T
tox-crypto
cryptorustv0.1.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.

tox_crypto
use tox_crypto::*;

Generate a keypair and encrypt a message using Tox crypto primitives.

use tox_crypto::*; let (pk, sk) = gen_keypair(); let nonce = gen_nonce(); let ciphertext = encrypt(&pk, &sk, &nonce, b"hello").unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Resources
tox-crypto — cargo add tox-crypto · libregistry