The HmacImportParams dictionary of the Web Crypto API represents
object that should be passed as the algorithm parameter into
or SubtleCrypto.unwrapKey()
, when generating a key for the
algorithm.
The HmacImportParams dictionary of the Web Crypto API represents object that should be passed as the algorithm parameter into or `SubtleCrypto.unwrapKey()`, when generating a key for the algorithm.
(hash this)
Property.
A DOMString representing the name of the digest function to The can take a value of SHA-256, SHA-384, or SHA-512. Warning: Although you can technically pass SHA-1 here, this strongly discouraged as it is considered vulnerable.
Property. A DOMString representing the name of the digest function to The can take a value of SHA-256, SHA-384, or SHA-512. Warning: Although you can technically pass SHA-1 here, this strongly discouraged as it is considered vulnerable.
(length this)
Property.
A Number representing the length in bits of the key. If this omitted the length of the key is equal to the length of the digest by the digest function you have chosen. Unless you have a good to use a different length, omit this property and use the default.
Property. A Number representing the length in bits of the key. If this omitted the length of the key is equal to the length of the digest by the digest function you have chosen. Unless you have a good to use a different length, omit this property and use the default.
(name this)
Property.
A DOMString. This should be set to HMAC.
Property. A DOMString. This should be set to HMAC.
(set-hash! this val)
Property.
A DOMString representing the name of the digest function to The can take a value of SHA-256, SHA-384, or SHA-512. Warning: Although you can technically pass SHA-1 here, this strongly discouraged as it is considered vulnerable.
Property. A DOMString representing the name of the digest function to The can take a value of SHA-256, SHA-384, or SHA-512. Warning: Although you can technically pass SHA-1 here, this strongly discouraged as it is considered vulnerable.
(set-length! this val)
Property.
A Number representing the length in bits of the key. If this omitted the length of the key is equal to the length of the digest by the digest function you have chosen. Unless you have a good to use a different length, omit this property and use the default.
Property. A Number representing the length in bits of the key. If this omitted the length of the key is equal to the length of the digest by the digest function you have chosen. Unless you have a good to use a different length, omit this property and use the default.
(set-name! this val)
Property.
A DOMString. This should be set to HMAC.
Property. A DOMString. This should be set to HMAC.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close