HashCrypt class
Class to perform one-way hashing using common algorithms.
This version of HashCrypt is encoded, meaning that it expects plaintext to be UTF-8, and returns base64 encoded Strings. For more flexibility, HashCryptRaw is recommended.
Properties
Methods
-
check(
{required String plain, required String hashed}) → bool - Check hashed against plain
-
hash(
{required String inp}) → String -
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