Add missing params to docstring.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
480a7eeff2
commit
ba4c9399a9
@ -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[] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user