algorithm property
The KeyAlgorithm used to generate the cryptographic key.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
ptr = object.algorithm |
Property values
Type: KeyAlgorithm
Indicates the algorithm used to initialize cryptographic operation (CryptoOperation). algorithm can contain algorithm-specific parameters used to fully specify the operation to perform.
Remarks
A few common cryptographic algorithms follow:
Internet Explorer 11 supports the following cryptographic algorithms:
- AES-CBC: for encrypt, decrypt, generateKey, importKey, and exportKey.
- AES-GCM: for encrypt, decrypt, generateKey, importKey, and exportKey.
- AESKW: for generateKey, and the keyEncryptionKey parameter of wrapKey and unwrapKey (for details, see KeyWrap Proposal).
- RSAES-PKCS1-v1_5: for encrypt, decrypt, generateKey, importKey, and exportKey.
- RSA-OAEP: for encrypt, decrypt, generateKey, importKey, and exportKey.
- RSASSA-PKCS1-v1_5: for sign, verify, generateKey, importKey, and exportKey.
- HMAC: for sign, verify, generateKey, importKey, and exportKey.
- SHA1/SHA-256/SHA-512/SHA-384: for digest and are the only supported hashes for the other algorithms.
See also
Show:
