HashStateΒΆ

hashstate.spad line 51

This domain supports incremental computation of hash values.

new: () -> %
new() return a new HashState.
update!: (%, SingleInteger) -> %
update!(hs, x) computes new values of HashState from hs and x and might destructively operate on its first argument.
value: % -> SingleInteger
value(x) returns a SingleInteger value corresponding to x.