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

padding-engineclj

(padding-engine alg)

Create a padding enginde for given algorithm name.

Create a padding enginde for given algorithm name.
sourceraw 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
sourceraw docstring

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

× close