subtle property
A property that provides access to methods for performing cryptographic algorithms.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
ptr = object.subtle |
Property values
Type: SubtleCrypto
Property containing cryptographic algorithm methods.
Remarks
The subtle property provides cryptographic algorithm methods such as encrypt, decrypt, sign, etc. For details, see SubtleCrypto.
Examples
var keyOperation = window.msCrypto.subtle.generateKey({ name: "RSAES-PKCS1-v1_5", modulusLength: 2048, publicExponent: new Uint8Array([0x01, 0x00, 0x01]) }, true, ["encrypt", "decrypt"]);
See also
Show:
