Registry / crypto / deno-crypto

deno-crypto

JSON →
library0.264.0rscratesunverified

Web Cryptography API implementation for Deno.

# Cargo.toml [dependencies] deno_crypto = "0.264.0"
INSTALL
IMPORT
SIG · DENO-CRYPTO
D
deno-crypto
cryptorustv0.264.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.

Crypto
use deno_crypto::Crypto;

Generates 10 random bytes using the Web Crypto API.

use deno_crypto::Crypto; fn main() { let crypto = Crypto::default(); let random = crypto.random_values(10); println!("{:?}", random); }
Debug
Known issues
gotchaRequires Deno runtime features; not standalone
fix
Use within a Deno extension or with deno_core
affects: >=0.264.0
Upgrade
Version history
0.264.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Resources
deno-crypto — cargo add deno-crypto · libregistry