CryptographyLibHashFunction class
Wrapper for cryptography package's HashAlgorithm.
Provides a HashFunction interface for standard hash algorithms from the cryptography package (SHA1, SHA256, SHA512, etc.).
- Implemented types
Constructors
- CryptographyLibHashFunction({required String name, required HashAlgorithm hashAlgorithm})
Properties
- hashAlgorithm → HashAlgorithm
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name of the hash function algorithm.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hash(
Uint8List input) → Future< Uint8List> -
Creates a combined hash code for a number of objects.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited