This class wraps Bob Jenkins' SpookyHash in a BDE-style component.
Declared in <bslh_spookyhashalgorithmimp.h>
class SpookyHashAlgorithmImp;
This class wraps an implementation of Bob Jenkin's "SpookyHash" in a BDE-style component. For more information, see http://burtleburtle.net/bob/hash/spooky.html .
| Name | Description |
|---|---|
Uint16 | 16-bit unsigned integer type used by the implementation. |
Uint32 | 32-bit unsigned integer type used by the implementation. |
Uint64 | 64-bit unsigned integer type used by the implementation. |
Uint8 | 8-bit unsigned integer type used by the implementation. |
| Name | Description |
|---|---|
SpookyHashAlgorithmImp [constructor] | Create a bslh::SpookyHashAlgorithmImp, initializing the internal state of the object using the specified seed1 and seed2 as seeds for the algorithm. |
finalize | Load the finalized 128-bit hash into hash1 and hash2. |
update | Accumulate length bytes of message into the algorithm state. |
| Name | Description |
|---|---|
hash128 | Compute a 128-bit SpookyHash of message into hash1 and hash2. |
hash32 | Return a 32-bit SpookyHash of message. |
hash64 | Return a 64-bit SpookyHash of message. |