dargon2 library
Library for Argon2 Hashing and verification in dart prrojects
To use this library in your code:
import 'package:dargon2/dartgon2.dart';
For detailed usage please look at the example
Classes
- DArgon2
- A class that houses all of the methods to hash and verify a password using the Argon2 password hashing algorithm.
- DArgon2Native
- DArgon2Result
- A class that stores the results from an Argon2 Hashing operation. Allows for a user to get various values from the List
- Salt
- A class to abstract and handle Salts for the Argon2 hashing process. Allows for a user to create a salt with given bytes (List
Enums
- Argon2Type
- The enum to determine the Argon2 Type used (Argon2i, Argon2d, Argon2id).
- Argon2Version
- The enum used to determine the Argon2 Version used (0x10 or 0x13).
- DArgon2ErrorCode
- The enum with all of the Argon2 Error codes, seen directly from the C Reference Library of Argon2. The codes are sent into the Exception object as well as used to retrieve the error message from the C library.
Properties
- argon2 → DArgon2Native
-
The globally accessible instance of DArgon2 with Dart
native library loading
final
Exceptions / Errors
- DArgon2Exception
- A generic exception class to present each of the thrown exceptions from the Argon2 Library to allow users to know exactly what errored