diff --git a/src/romulus-m.ts b/src/romulus-m.ts index 54f9446..ed7d45a 100644 --- a/src/romulus-m.ts +++ b/src/romulus-m.ts @@ -35,9 +35,9 @@ function parse (message: number[], blockLength: number): number[][] { /** * Pads the byte length of message to padLength. The final byte (when padded) contains the original message length. - * @param message - * @param padLength - * @returns A complete 16 byte block. + * @param message The message to pad. + * @param padLength The length to pad the message to. + * @returns A padded block. */ function pad (message: number[], padLength: number): number[] { // If there is no message, return a fully padded block. @@ -63,7 +63,7 @@ function pad (message: number[], padLength: number): number[] { /** * Generate the key stream from the internal state by multiplying the state S and the constant matrix G. - * @param state + * @param state The state from which the key stream will be generated. * @returns The key stream. */ function g (state: number[]): number[] {