Methods decrypt Defined in node_modules/typescript/lib/lib.dom.d.ts:15401 Parameters Returns Promise < ArrayBuffer > derive Bits Defined in node_modules/typescript/lib/lib.dom.d.ts:15402 Parameters Returns Promise < ArrayBuffer > derive Key Defined in node_modules/typescript/lib/lib.dom.d.ts:15403 Parameters digest Defined in node_modules/typescript/lib/lib.dom.d.ts:15404 Parameters Returns Promise < ArrayBuffer > encrypt Defined in node_modules/typescript/lib/lib.dom.d.ts:15405 Parameters Returns Promise < ArrayBuffer > export Key Defined in node_modules/typescript/lib/lib.dom.d.ts:15406 Parameters Defined in node_modules/typescript/lib/lib.dom.d.ts:15407 Parameters format: "raw" | "pkcs8" | "spki" Returns Promise < ArrayBuffer > Defined in node_modules/typescript/lib/lib.dom.d.ts:15408 Parameters Returns Promise < ArrayBuffer | JsonWebKey > generate Key Defined in node_modules/typescript/lib/lib.dom.d.ts:15409 Parameters Defined in node_modules/typescript/lib/lib.dom.d.ts:15410 Parameters Defined in node_modules/typescript/lib/lib.dom.d.ts:15411 Parameters import Key import Key( format: "jwk" , keyData: JsonWebKey , algorithm: string | Algorithm | HmacImportParams | RsaHashedImportParams | EcKeyImportParams | DhImportKeyParams | AesKeyAlgorithm , extractable: boolean , keyUsages: KeyUsage [] ) : Promise < CryptoKey > import Key( format: "raw" | "pkcs8" | "spki" , keyData: BinaryData , algorithm: string | Algorithm | HmacImportParams | RsaHashedImportParams | EcKeyImportParams | DhImportKeyParams | AesKeyAlgorithm , extractable: boolean , keyUsages: KeyUsage [] ) : Promise < CryptoKey > import Key( format: string , keyData: ArrayBuffer | Uint8Array | DataView | Int8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | JsonWebKey , algorithm: string | Algorithm | HmacImportParams | RsaHashedImportParams | EcKeyImportParams | DhImportKeyParams | AesKeyAlgorithm , extractable: boolean , keyUsages: KeyUsage [] ) : Promise < CryptoKey > Defined in node_modules/typescript/lib/lib.dom.d.ts:15412 Parameters format: "jwk" extractable: boolean Defined in node_modules/typescript/lib/lib.dom.d.ts:15413 Parameters format: "raw" | "pkcs8" | "spki" extractable: boolean Defined in node_modules/typescript/lib/lib.dom.d.ts:15414 Parameters format: string keyData: ArrayBuffer | Uint8Array | DataView | Int8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | JsonWebKey extractable: boolean sign Defined in node_modules/typescript/lib/lib.dom.d.ts:15415 Parameters Returns Promise < ArrayBuffer > unwrap Key Defined in node_modules/typescript/lib/lib.dom.d.ts:15416 Parameters format: string extractable: boolean verify Defined in node_modules/typescript/lib/lib.dom.d.ts:15417 Parameters Returns Promise < boolean > wrap Key Defined in node_modules/typescript/lib/lib.dom.d.ts:15418 Parameters Returns Promise < ArrayBuffer > Legend Type alias Type alias with type parameter Class Class with type parameter Settings Theme OS Light Dark
This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).