Hierarchy

  • SHA2

Index

Methods

SHA2_224

  • SHA2_224(sData: string): string
  • Hashes the supplied string data using SHA2-224.

    Parameters

    • sData: string

      Specifies the data to hash.

    Returns string

    Returns the hash string.

SHA2_256

  • SHA2_256(sData: string | number[]): string | number[]
  • Hashes the supplied string data using SHA2-256.

    Parameters

    • sData: string | number[]

      Specifies the data to hash.

    Returns string | number[]

    Returns the hash string.

SHA2_384

  • SHA2_384(sData: string | number[]): string | number[]
  • Hashes the supplied string data using SHA2-384.

    Parameters

    • sData: string | number[]

      Specifies the data to hash.

    Returns string | number[]

    Returns the hash string.

SHA2_512

  • SHA2_512(sData: string | number[]): string | number[]
  • Hashes the supplied string data using SHA2-512.

    Parameters

    • sData: string | number[]

      Specifies the data to hash.

    Returns string | number[]

    Returns the hash string.

SHA2_512_224

  • SHA2_512_224(sData: string): string
  • Hashes the supplied string data using SHA2-512/224.

    Parameters

    • sData: string

      Specifies the data to hash.

    Returns string

    Returns the hash string.

SHA2_512_256

  • SHA2_512_256(sData: string): string
  • Hashes the supplied string data using SHA2-512/256.

    Parameters

    • sData: string

      Specifies the data to hash.

    Returns string

    Returns the hash string.

Static SHA256

  • SHA256(sData: number[]): number[]
  • Parameters

    • sData: number[]

    Returns number[]

Generated using TypeDoc