MACHashBase<T extends HashDigestSink> class
abstract
This can be used as a mixin for MAC algorithm interfaces
- Implemented types
-
- HashBase<
T>
- HashBase<
- Available extensions
Constructors
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
-
byteStream(
Stream< int> stream, [int bufferSize = 1024]) → Future<HashDigest> -
Consumes the entire
stream
of byte array and generates a HashDigest.inherited -
cast<
RS, RT> () → StreamTransformer< RS, RT> -
Provides a
StreamTransformer<RS, RT>
view of this stream transformer.inherited -
convert(
List< int> input) → HashDigest -
Process the byte array
input
and returns a HashDigest.inherited -
createSink(
) → T -
Create a HashDigestSink for generating message-digests
inherited
-
hex(
List< int> input) → String -
Process the byte array
input
and returns a hash in hexadecimal.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
List< int> message) → HashDigest -
Signing the
message
using this MAC to generate a tag. -
string(
String input, [Encoding? encoding]) → HashDigest -
Process the
input
string and returns a HashDigest.inherited -
stringStraem(
Stream< String> stream, [Encoding? encoding]) → Future<HashDigest> -
Consumes the entire
stream
of string and generates a HashDigest.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
List< int> tag, List<int> message) → bool -
Verify if the
tag
is derived from themessage
using this MAC.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited