HASH
A type representing an internal interface to a rolling hash over a list of items. This is the underlying type for req.hash
, which has special behaviour for the +=
operator, to append an item to the list of strings to hash. The type abstracts the hashing algorithm used, which is currently SHA-256. For example:
1
set req.hash += req.url;