Registry / crypto / solana-chacha-sys

solana-chacha-sys

JSON →
library1.1.23rscratesunverified

Solana chacha-sys provides FFI bindings for ChaCha20 encryption.

# Cargo.toml [dependencies] solana-chacha-sys = "1.1.23"
INSTALL
IMPORT
SIG · SOLANA-CHACHA-SYS
S
solana-chacha-sys
cryptorustv1.1.23
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.

chacha20
use solana_chacha_sys::chacha20;

Calls the ChaCha20 FFI function.

use solana_chacha_sys::chacha20; fn main() { unsafe { chacha20(); } }
Debug
Known issues
gotchaUnsafe FFI calls require careful memory management.
fix
Ensure proper buffer sizes and lifetimes.
affects: *
Upgrade
Version history
1.1.23latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
solana-chacha-sys — cargo add solana-chacha-sys · libregistry