Argon2 class

Constructors

Argon2(RustCryptoWorld _world)

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

defaultConfig() Argon2Config
generateSalt() String
hashPassword({required Argon2Config config, required Uint8List password, required String salt}) → Result<PasswordHash, String>
Hash password to PHC string ($argon2id$v=19$...)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawHash({required Argon2Config config, required Uint8List password, required Uint8List salt}) → Result<Uint8List, String>
This useful for transforming a password into cryptographic keys for e.g. password-based encryption.
toString() String
A string representation of this object.
inherited
verifyPassword({required Uint8List password, required PasswordHash hash, Uint8List? secret}) → Result<bool, String>

Operators

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