windowcryptosubtle
Windowcryptosubtle refers to the SubtleCrypto interface exposed by the Web Crypto API as window.crypto.subtle in web browsers. It is a programmatic, browser-based interface that enables cryptographic operations within web pages while controlling exposure of key material through CryptoKey objects and usage constraints. The API is available in secure contexts and is designed to operate asynchronously, returning Promises for most operations.
Typical operations include generateKey, importKey, exportKey, encrypt, decrypt, sign, verify, digest, deriveKey, and deriveBits. Keys are
Algorithms supported by windowcryptosubtle cover both symmetric and asymmetric cryptography, including AES-GCM and AES-CBC (with AES-GCM
Usage pattern typically involves obtaining a CryptoKey via generateKey or importKey, then invoking encrypt/decrypt or sign/verify
Security and scope considerations include the requirement of a secure context (HTTPS or localhost) and adherence