XXHash64 class
XXHash64 is a fast and efficient non-cryptographic hash function for 64-bit platforms. It is designed for producing a quick and reliable hash value for a given data, which can be used for many applications, such as checksum, data validation, etc. In addition, it has a good distribution of hash values, which helps to reduce collisions.
This implementation was derived from https://github.com/Cyan4973/xxHash
WARNING: It should not be used for cryptographic purposes.
- Inheritance
-
- Object
- HashBase
- BlockHashBase
- XXHash64
Properties
Methods
-
bind(
Stream< List< stream) → Stream<int> >HashDigest> -
Transforms the byte array input stream to generate a new stream
which contains a single HashDigest
inherited
-
cast<
RS, RT> () → StreamTransformer< RS, RT> -
Provides a
StreamTransformer<RS, RT>
view of this stream transformer.inherited -
consume(
Stream< List< stream) → Future<int> >HashDigest> -
Consumes the entire
stream
of byte array and generates a HashDigest.inherited -
consumeAs(
Stream< String> stream, [Encoding encoding = latin1]) → Future<HashDigest> -
Consumes the entire
stream
of string and generates a HashDigest.inherited -
convert(
List< int> input) → HashDigest -
Process the byte array
input
and returns a HashDigest.inherited -
createSink(
) → XXHash64Sink -
Create a HashDigestSink for generating message-digests
override
-
file(
File input, [int start = 0, int? end]) → Future< HashDigest> -
Converts the
input
file and returns a HashDigest asynchronously.inherited -
fileSync(
File input, {int start = 0, int? end, int bufferSize = 2048}) → HashDigest -
Converts the
input
file and returns a HashDigest synchronously.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
string(
String input, [Encoding? encoding]) → HashDigest -
Process the
input
string and returns a HashDigest.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
withSeed(
int seed) → XXHash64 - Get and instance of XXHash64 with an specific seed
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited