pub struct PortableHash { /* fields omitted */ }
Portable HighwayHash implementation. Will run on any platform Rust will run on.
Create a new PortableHash
from a Key
Formats the value using the given formatter. Read more
Returns the "default value" for a type. Read more
Convenience function for hashing all data in a single call and receiving a 64bit hash. Results are equivalent to appending the data manually. Read more
Convenience function for hashing all data in a single call and receiving a 128bit hash. Results are equivalent to appending the data manually. Read more
Convenience function for hashing all data in a single call and receiving a 256bit hash. Results are equivalent to appending the data manually. Read more
Adds data to be hashed. If it is important, the performance characteristics of this function differs depending on the amount of data previously hashed and the amount of data to be hashed. For instance, if one appends 50, 1 byte slices then appending the 32nd byte will have a performance outlier as the internal 32 byte block is complete and internally processed. Read more
Consumes the hasher to return the 64bit hash
Consumes the hasher to return the 128bit hash
Consumes the hasher to return the 256bit hash