Skip to main content

Crate deno_crypto

Crate deno_crypto 

Source

Re-exports§

pub use rand;

Structs§

DeriveKeyArg
KeyData
Owned key material handed to the sign/verify/derive ops after being looked up from the Rust-side [KeyStore] by handle. Previously the key bytes were serialized and passed from JavaScript on every operation.
SignArg
VerifyArg
WrapUnwrapKeyArg
deno_crypto
An extension for use with the Deno JS runtime. To use it, provide it as an argument when instantiating your runtime:

Enums§

CryptoError
DecryptError
Ed25519Error
EncryptError
ExportKeyError
GenerateKeyError
ImportKeyError
KeyFormat
KeyType
MlDsaError
MlKemError
RawKeyData
Owned WebCrypto key material, wrapped by a V8 garbage-collected handle ([crate::key_store::CryptoKeyHandle]).
SharedError
SubtleDigestXof
X448Error
X25519Error

Functions§

op_crypto_base64url_decode
op_crypto_base64url_encode
op_crypto_decrypt
op_crypto_derive_bits
op_crypto_encrypt
op_crypto_export_key
op_crypto_generate_key
op_crypto_get_random_values
op_crypto_import_key
op_crypto_random_uuid
op_crypto_sign_key
op_crypto_subtle_digest
op_crypto_subtle_digest_xof
op_crypto_unwrap_key
op_crypto_verify_key
op_crypto_wrap_key