Liking cljdoc? Tell your friends :D

web.crypto.HmacImportParams

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.
raw docstring

hashcljs

(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.
sourceraw docstring

lengthcljs

(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.
sourceraw docstring

namecljs

(name this)

Property.

A DOMString. This should be set to HMAC.

Property.

A DOMString. This should be set to HMAC.
sourceraw docstring

set-hash!cljs

(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.
sourceraw docstring

set-length!cljs

(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.
sourceraw docstring

set-name!cljs

(set-name! this val)

Property.

A DOMString. This should be set to HMAC.

Property.

A DOMString. This should be set to HMAC.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close