APIPasswordSHA256 class
Password hashing using SHA-256
.
- Inheritance
-
- Object
- APIPasswordHashAlgorithm
- APIPasswordSHA256
Constructors
- APIPasswordSHA256()
-
factory
Properties
Methods
-
ensureHashedPassword(
String passwordOrHash) → String -
Ensures that
passwordOrHash
is hashed with this algorithm.inherited -
hashPassword(
String password) → String -
Hashes
password
with this algorithm.override -
isHashedPassword(
String passwordOrHash) → bool -
Returns
true
ifpasswordOrHash
is hashed with this algorithm.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