Liking cljdoc? Tell your friends :D

javax.crypto.spec.IvParameterSpec

This class specifies an initialization vector (IV). Examples which use IVs are ciphers in feedback mode, e.g., DES in CBC mode and RSA ciphers with OAEP encoding operation.

This class specifies an initialization vector (IV).
Examples which use IVs are ciphers in feedback mode,
e.g., DES in CBC mode and RSA ciphers with OAEP encoding
operation.
raw docstring

->iv-parameter-specclj

(->iv-parameter-spec iv)
(->iv-parameter-spec iv offset len)

Constructor.

Creates an IvParameterSpec object using the first len bytes in iv, beginning at offset inclusive, as the IV.

The bytes that constitute the IV are those between iv[offset] and iv[offset+len-1] inclusive.

iv - the buffer with the IV. The first len bytes of the buffer beginning at offset inclusive are copied to protect against subsequent modification. - byte[] offset - the offset in iv where the IV starts. - int len - the number of IV bytes. - int

throws: java.lang.IllegalArgumentException - if iv is null or (iv.length - offset < len)

Constructor.

Creates an IvParameterSpec object using the first len
 bytes in iv, beginning at offset
 inclusive, as the IV.

  The bytes that constitute the IV are those between
 iv[offset] and iv[offset+len-1] inclusive.

iv - the buffer with the IV. The first len bytes of the buffer beginning at offset inclusive are copied to protect against subsequent modification. - `byte[]`
offset - the offset in iv where the IV starts. - `int`
len - the number of IV bytes. - `int`

throws: java.lang.IllegalArgumentException - if iv is null or (iv.length - offset < len)
raw docstring

get-ivclj

(get-iv this)

Returns the initialization vector (IV).

returns: the initialization vector (IV). Returns a new array each time this method is called. - byte[]

Returns the initialization vector (IV).

returns: the initialization vector (IV). Returns a new array
 each time this method is called. - `byte[]`
raw docstring

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

× close