HashCryptRaw class

Class to perform one-way hashing using common algorithms.

This version of HashCrypt is raw, meaning that it expects all inputs to be Uint8List, and returns Uint8Lists. For a higher-level solution, HashCrypt is recommended.

Constructors

HashCryptRaw(HashAlgo type)
Construct with type of algorithm

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type HashAlgo
final

Methods

checkhash({required Uint8List plain, required Uint8List hashed}) bool
Check hashed against plain
hash({required Uint8List inp}) Uint8List
Hash with given input.
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