HashConverter class
A class for checking and converting SHA-256 hashes.
Class is initialized as a static variable hashConverter.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromBase64toSha256(
String value) → String - Converts given Base64 String to SHA-256 format String.
-
fromSha256toBase64(
String value) → String - Converts given SHA-256 hash String to Base64 format String.
-
isValidSha256Format(
String value) → bool - Checks whether given String is valid SHA-256 format.
-
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