• hash string messages with sha256

    Parameters

    • msg: string

      The string message to be hashed

    Returns string

    A sha256 hash of the message