![]() |
SystemEX
Lacking
Additional generic collection types missing in .net
|
Interface for SystemEx hashing algorithms. More...
Public Member Functions | |
| Hash32 | Compute (FixedVector< byte > input, uint seed) |
| Computes a 32‑bit hash over the given byte vector using the specified seed and endian mode. | |
| Hash64 | ComputeLong (FixedVector< byte > input, ulong seed) |
| Computes a 64‑bit hash over the given byte vector using the specified seed and endian mode. | |
Interface for SystemEx hashing algorithms.
A hasher consumes a byte vector (Vector<byte>) and produces either a 32‑bit or 64‑bit hash.
Implementations must be endian‑aware and iterator‑driven, following the SystemEx data model. They may be instantiated dynamically via HashAlgorithmAttribute.
| Hash32 SystemEx.Hash.IHash.Compute | ( | FixedVector< byte > | input, |
| uint | seed ) |
Computes a 32‑bit hash over the given byte vector using the specified seed and endian mode.
Implemented in SystemEx.Hash.AdlerHash, SystemEx.Hash.BernsteinHash, SystemEx.Hash.Black3Hasher, SystemEx.Hash.FletcherHash, SystemEx.Hash.Fnv1aHash, SystemEx.Hash.GrøstlHash, SystemEx.Hash.RamakrishnaHash, and SystemEx.Hash.WeinbergHash.
| Hash64 SystemEx.Hash.IHash.ComputeLong | ( | FixedVector< byte > | input, |
| ulong | seed ) |
Computes a 64‑bit hash over the given byte vector using the specified seed and endian mode.
Implemented in SystemEx.Hash.AdlerHash, SystemEx.Hash.BernsteinHash, SystemEx.Hash.Black3Hasher, SystemEx.Hash.FletcherHash, SystemEx.Hash.Fnv1aHash, SystemEx.Hash.GrøstlHash, SystemEx.Hash.RamakrishnaHash, and SystemEx.Hash.WeinbergHash.