Struct highway::PortableHash[][src]

pub struct PortableHash { /* fields omitted */ }

Portable HighwayHash implementation. Will run on any platform Rust will run on.

Methods

impl PortableHash
[src]

Create a new PortableHash from a Key

Trait Implementations

impl Debug for PortableHash
[src]

Formats the value using the given formatter. Read more

impl Default for PortableHash
[src]

Returns the "default value" for a type. Read more

impl HighwayHash for PortableHash
[src]

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

Auto Trait Implementations