• Configurable computation of salted over an array of statements. Can be used to validate/reproduce salted hashes by means of an optional nonce map.

    Parameters

    • statements: string[]

      An array of statement strings to be hashed.

    • options: HashingOptions = {}

      Optional hasher arguments.

    Returns {
        digest: HexString;
        nonce: string;
        saltedHash: HexString;
        statement: string;
    }[]

    An array of objects for each statement which contain a statement, its digest, salted hash and nonce.