CryptoKey.algorithm
The CryptoKey.algorithm
read-only property is an opaque value containing all the information about the algorithm related to the key.
Different implementations have different kind of opaque value for these: such an object can't be shared.
Syntax
JavaScript
Copy Code
result = <code>key</code><code>.algorithm</code>
Return value
result
is an opaque object describing the algorithm the key relates to.
Specifications
Specification | Status | Comment |
---|---|---|
Web Cryptography API The definition of 'CryptoKey.algorithm' in that specification. |
Candidate Recommendation | Initial definition. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 37 | 34 (34) | Not supported | ? | Not supported |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) | 37 | 34.0 (34) | Not supported | ? | Not supported |
See also
Crypto
andCrypto.subtle
.CryptoKey
, the interface it belongs to.
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/cryptokey/algorithm