Skip to main content

WEBCRYPTO_METHODS

Constant WEBCRYPTO_METHODS 

Source
pub const WEBCRYPTO_METHODS: &[&str];
Expand description

The webcrypto / globalThis.crypto members this runtime implements.

subtle carries digest ONLY. The rest of SubtleCrypto — encrypt, generateKey, importKey, the key-derivation and key-wrapping methods, and the CryptoKey type they exchange — is not implemented, and is absent rather than present-and-always-rejecting so that a typeof subtle.encrypt feature probe correctly takes its fallback path.