hashStatements
hashStatements(
statements,options):Array<object>
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
Section titled “Parameters”• statements
An array of statement strings to be hashed.
• options: HashingOptions= {}
Optional hasher arguments.
Returns
Section titled “Returns”Array<object>
An array of objects for each statement which contain a statement, its digest, salted hash and nonce.
digest
Section titled “digest”digest:
HexString
nonce:
string
saltedHash
Section titled “saltedHash”saltedHash:
HexString
statement
Section titled “statement”statement:
string