Liking cljdoc? Tell your friends :D

clojure-aes.shared


combine-four-bytesclj

(combine-four-bytes byte-array)

Takes an array of four bytes, and combines them into a single word.

Takes an array of four bytes, and combines them into a single word.
sourceraw docstring

ffAddclj

(ffAdd byte1 byte2)

Adds two bytes in a finite field via xor operation.

Adds two bytes in a finite field via xor operation.
sourceraw docstring

ffmultiplyclj

(ffmultiply byte-a byte-b)

Multiplies two bytes (8 bits apiece) together in a finite field.

Multiplies two bytes (8 bits apiece) together in a finite field.
sourceraw docstring

msb-1?clj

(msb-1? byte)

Determines if the most significant bit in the byte is 1.

Determines if the most significant bit in the byte is 1.
sourceraw docstring

number-of-32bit-words-in-keyclj

(number-of-32bit-words-in-key num-bits)

Computes the number of 32-bit words in the key.

Computes the number of 32-bit words in the key.
sourceraw docstring

number-of-roundsclj

(number-of-rounds num-bits)

Computes the number of rounds based on the number of bits passed in.

Computes the number of rounds based on the number of bits passed in.
sourceraw docstring

separate-four-bytesclj

(separate-four-bytes word)

Takes a word (4 bytes) and returns a vector with each individual byte of the word.

Takes a word (4 bytes) and returns a vector with each individual byte of the word.
sourceraw docstring

xtimeclj

(xtime byte-in)

Multiplies a byte by two in a finite field, bit-xoring if the high bit is set.

Multiplies a byte by two in a finite field, bit-xoring if the high bit is set.
sourceraw docstring

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

× close