Function sha256Raw

  • Hash string into raw array buffer

    Parameters

    • input: string

      An arbitrary text

    • encoding: InputEncoding

      The encoding of input type (default: 'utf8')

    Returns ArrayBuffer

    the hash for that string in ArrayBuffer