Liking cljdoc? Tell your friends :D

web.crypto.AesCtrParams

The AesCtrParams dictionary of the Web Crypto API represents object that should be passed as the algorithm parameter into SubtleCrypto.decrypt(), SubtleCrypto.wrapKey(), or SubtleCrypto.unwrapKey(), using the AES-CTR algorithm.

The AesCtrParams dictionary of the Web Crypto API represents
object that should be passed as the algorithm parameter into
`SubtleCrypto.decrypt()`, `SubtleCrypto.wrapKey()`, or `SubtleCrypto.unwrapKey()`,
using the AES-CTR algorithm.
raw docstring

countercljs

(counter this)

Property.

A BufferSource — the initial value of the counter block. This be 16 bytes long (the AES block size). The rightmost length bits this block are used for the counter, and the rest is used for nonce. For example, if length is set to 64, then the first half counter is the nonce and the second half is used for the counter.

Property.

A BufferSource — the initial value of the counter block. This
be 16 bytes long (the AES block size). The rightmost length bits
this block are used for the counter, and the rest is used for
nonce. For example, if length is set to 64, then the first half
counter is the nonce and the second half is used for the counter.
sourceraw docstring

lengthcljs

(length this)

Property.

A Number — the number of bits in the counter block that are used the actual counter. The counter must be big enough that it doesn't if the message is n blocks and the counter is m bits long, then following must be true: n <= 2m. The NIST SP800-38A standard, defines CTR, suggests that the counter should occupy half of counter block (see Appendix B.2), so for AES it would be 64.

Property.

A Number — the number of bits in the counter block that are used
the actual counter. The counter must be big enough that it doesn't
if the message is n blocks and the counter is m bits long, then
following must be true: n <= 2m. The NIST SP800-38A standard,
defines CTR, suggests that the counter should occupy half of
counter block (see Appendix B.2), so for AES it would be 64.
sourceraw docstring

namecljs

(name this)

Property.

A DOMString. This should be set to AES-CTR.

Property.

A DOMString. This should be set to AES-CTR.
sourceraw docstring

set-counter!cljs

(set-counter! this val)

Property.

A BufferSource — the initial value of the counter block. This be 16 bytes long (the AES block size). The rightmost length bits this block are used for the counter, and the rest is used for nonce. For example, if length is set to 64, then the first half counter is the nonce and the second half is used for the counter.

Property.

A BufferSource — the initial value of the counter block. This
be 16 bytes long (the AES block size). The rightmost length bits
this block are used for the counter, and the rest is used for
nonce. For example, if length is set to 64, then the first half
counter is the nonce and the second half is used for the counter.
sourceraw docstring

set-length!cljs

(set-length! this val)

Property.

A Number — the number of bits in the counter block that are used the actual counter. The counter must be big enough that it doesn't if the message is n blocks and the counter is m bits long, then following must be true: n <= 2m. The NIST SP800-38A standard, defines CTR, suggests that the counter should occupy half of counter block (see Appendix B.2), so for AES it would be 64.

Property.

A Number — the number of bits in the counter block that are used
the actual counter. The counter must be big enough that it doesn't
if the message is n blocks and the counter is m bits long, then
following must be true: n <= 2m. The NIST SP800-38A standard,
defines CTR, suggests that the counter should occupy half of
counter block (see Appendix B.2), so for AES it would be 64.
sourceraw docstring

set-name!cljs

(set-name! this val)

Property.

A DOMString. This should be set to AES-CTR.

Property.

A DOMString. This should be set to AES-CTR.
sourceraw docstring

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

× close