SHA1 and SHA2

Hierarchy

  • KavenSHA

Constructors

Accessors

  • get SHA512_INITIAL_HASH_VALUES(): BitString[]
  • SHA-512 initial hash values(in big-endian).

    These words were obtained by taking the first sixty-four bits of the fractional parts of the square roots of the first eight prime numbers.

    Returns BitString[]

Methods

  • ComputeSHA224(input: THashInput): Promise<string>
  • Parameters

    Returns Promise<string>

  • ComputeSHA256(input: THashInput): Promise<string>
  • ComputeSHA384(input: THashInput): Promise<string>
  • Parameters

    Returns Promise<string>

  • ComputeSHA512(input: THashInput): Promise<string>
  • Parameters

    Returns Promise<string>

  • ComputeSHA512T(input: THashInput, t: number): Promise<string>
  • Parameters

    Returns Promise<string>

  • compute_224_256(input: THashInput, initialHashValues: number[]): Promise<number[]>
  • Parameters

    Returns Promise<number[]>

Generated using TypeDoc