Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • KavenSHA3

Index

Constructors

constructor

Properties

Static Readonly RC

RC: KavenUInt64[] = ...

Round constants

Static Readonly r

r: number[][] = ...

Rotation offsets

Methods

Compute224

  • Parameters

    Returns Promise<string>

Compute256

  • Parameters

    Returns Promise<string>

Compute384

  • Parameters

    Returns Promise<string>

Compute512

  • Parameters

    Returns Promise<string>

ComputeSHAKE128

  • ComputeSHAKE128(message: number[] | IAcquiredData, len: number): Promise<string>
  • Parameters

    Returns Promise<string>

ComputeSHAKE256

  • ComputeSHAKE256(message: number[] | IAcquiredData, len: number): Promise<string>
  • Parameters

    Returns Promise<string>

Protected ConvertMessage

Keccak

  • Keccak(data: IAcquiredData, r: number, c: number, xof?: boolean, len?: number, b?: 25 | 50 | 100 | 200 | 400 | 800 | 1600): Promise<string>
  • Keccak[r,c] sponge function, with parameters capacity c and bitrate r.

    Parameters

    • data: IAcquiredData
    • r: number

      bitrate

    • c: number

      capacity

    • xof: boolean = false
    • Optional len: number

      message digest output length in bits

    • b: 25 | 50 | 100 | 200 | 400 | 800 | 1600 = 1600

    Returns Promise<string>

KeccakF

  • Parameters

    • a: KavenUInt64[][]
    • b: 25 | 50 | 100 | 200 | 400 | 800 | 1600 = 1600

      b∈{25,50,100,200,400,800,1600} is the width of the permutation.

      The width of the permutation is also the width of the state in the sponge construction.

    Returns KavenUInt64[][]

Protected PrintState

  • Parameters

    Returns void

Protected Round

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Constructor
  • Method
  • Interface
  • Interface with type parameter
  • Enumeration
  • Protected method
  • Static property

Generated using TypeDoc