Class KavenSHA3

Constructors

Properties

r: number[][] = ...

Rotation offsets

RC: KavenUInt64[] = ...

Round constants

Methods

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • Parameters

    Returns Promise<string>

  • Keccak[r,c] sponge function, with parameters capacity c and bitrate r.

    Parameters

    • data: IDataAcquisition<ByteArray>
    • r: number

      bitrate

    • c: number

      capacity

    • xof: boolean = false
    • Optionallen: number

      message digest output length in bits

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

    Returns Promise<string>

  • Keccak-f[b]

    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[][]

  • Parameters

    Returns void