The HmacKeyGenParams dictionary of the Web Crypto API represents object that should be passed as the algorithm parameter into when generating a key for the HMAC algorithm.
The HmacKeyGenParams dictionary of the Web Crypto API represents object that should be passed as the algorithm parameter into when generating a key for the HMAC algorithm.
(hash this)
Property.
A DOMString representing the name of the digest function to You can pass any of SHA-1, SHA-256, SHA-384, or SHA-512 here.
Property. A DOMString representing the name of the digest function to You can pass any of SHA-1, SHA-256, SHA-384, or SHA-512 here.
(length this)
Property.
A Number — the length in bits of the key. If this is omitted length of the key is equal to the length of the digest generated the digest function you have chosen. Unless you have a good reason use a different length, omit this property and use the default.
Property. A Number — the length in bits of the key. If this is omitted length of the key is equal to the length of the digest generated the digest function you have chosen. Unless you have a good reason 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 You can pass any of SHA-1, SHA-256, SHA-384, or SHA-512 here.
Property. A DOMString representing the name of the digest function to You can pass any of SHA-1, SHA-256, SHA-384, or SHA-512 here.
(set-length! this val)
Property.
A Number — the length in bits of the key. If this is omitted length of the key is equal to the length of the digest generated the digest function you have chosen. Unless you have a good reason use a different length, omit this property and use the default.
Property. A Number — the length in bits of the key. If this is omitted length of the key is equal to the length of the digest generated the digest function you have chosen. Unless you have a good reason 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