Liking cljdoc? Tell your friends :D

buddy.core.padding

Block padding algorithms.

Block padding algorithms.
raw docstring

countclj

(count input)
(count input alg)

Get the padding size found on given byte array.

Get the padding size found on given byte array.
raw docstring

padclj

(pad input offset)
(pad input offset alg)

Add padding using one of supported padding algorithms. This is a side effect free version of pad! function.

Add padding using one of supported padding algorithms.
This is a side effect free version of pad! function.
raw docstring

pad!clj

(pad! input offset)
(pad! input offset alg)

Add padding using one of supported padding algorithms.

Add padding using one of supported padding algorithms.
raw docstring

padded?clj

(padded? input)
(padded? input alg)

Check if given byte array has padding using specified padding algorithm. If no one is specified, :pkcs7 will be used.

Check if given byte array has padding using specified
padding algorithm. If no one is specified, :pkcs7
will be used.
raw docstring

padding-engineclj

(padding-engine alg)

Create a padding enginde for given algorithm name.

Create a padding enginde for given algorithm name.
raw docstring

unpadclj

(unpad input)
(unpad input alg)

Remove padding from given byte array and fill the unpadded bytes with 0

Remove padding from given byte array and fill
the unpadded bytes with 0
raw docstring

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

× close