Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
equals (String expected , String actual )
→ bool
Compares expected and actual over the whole of expected, whatever
differs and wherever, so the time taken says nothing about how much of a
guess was right.
hex (Random random , int bytes )
→ String
bytes random bytes as lowercase hex.
matches (String expectedHash , String presented )
→ bool
Whether presented hashes to expectedHash, compared in constant time.
of (String secret )
→ String
The stored form of secret: lowercase hex SHA-256, 64 characters.
token (Random random , int bytes )
→ String
bytes random bytes as unpadded URL-safe base64.