Salt class
A class to abstract and handle Salts for the Argon2 hashing process. Allows for a user to create a salt with given bytes (List
Constructors
-
Salt(List<
int> _bytes) -
Public Constructor accepting
_bytes
of a user's choosing. This allows a user to create their own predefined salt. - Salt.newSalt({int length = 16})
-
Factory constructor to create a salt with random bytes.
Optionally accepts a
length
of type int to create salts of a length that the user inputs.factory
Properties
Methods
-
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