newHasher: ((HashFunction) -> Hasher) & ((HashFunction, number) -> Hasher)
(HashFunction) -> Hasher: A new Hasher, empty.
(HashFunction, number) -> Hasher: A new Hasher; expectedInputSize is a hint, and a negative one is IllegalArgumentException.
hashString: (HashFunction, string, Charset) -> HashCode
The hash of input's bytes in charset (input.getBytes(charset)).
hashUnencodedChars: (HashFunction, string) -> HashCode
The hash of input's UTF-16 code units, each little-endian (no charset).
hashInt: (HashFunction, number) -> HashCode
The hash of input's four bytes, little-endian.
hashLong: (HashFunction, number) -> HashCode
The hash of input's eight bytes, little-endian (exact below 2^53, as every Luau number is).
bits: (HashFunction) -> number
The number of bits a hash has: 256.
toString: (HashFunction) -> string
Hashing.sha256(), as Guava names the function.
equals: (HashFunction, any) -> boolean
Whether other equals this HashFunction, as == answers it (false for a value of another class).
hashBytes: ((HashFunction, string | {number}) -> HashCode) & ((HashFunction, string | {number}, number, number) -> HashCode)
(HashFunction, string | {number}) -> HashCode: The hash of input's bytes (a Luau string of them, or an array of byte numbers): Hashing.sha256():hashBytes(file:readBytes()) is Guava's Files.asByteSource(file).hash(Hashing.sha256()).
(HashFunction, string | {number}, number, number) -> HashCode: The hash of len bytes of input from index off (0-based); a range outside it is IndexOutOfBoundsException.