APIPasswordHashAlgorithm class abstract

Base class for password hashing.

Implementers

Constructors

APIPasswordHashAlgorithm()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Returns the name of this algorithm.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

ensureHashedPassword(String passwordOrHash) → String
Ensures that passwordOrHash is hashed with this algorithm.
hashPassword(String password) → String
Hashes password with this algorithm.
isHashedPassword(String passwordOrHash) → bool
Returns true if passwordOrHash is hashed with this algorithm.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

detect(String data) → APIPasswordHashAlgorithm?
Detects the hashing algorithm of data or return null.