Argon2BytesGenerator class
Argon2 PBKDF.
Based on the results of:
Converted to Dart from:
LICENSE (MIT):
Copyright (c) 2000-2021 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org)
<p>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
<p>
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
<p>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- parameters → Argon2Parameters
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateBytes(
Uint8List password, Uint8List out, [int outOff = 0, int? outLen]) → int -
generateBytesFromString(
String password, Uint8List out, [int outOff = 0, int? outLen]) → int -
init(
Argon2Parameters parameters) → void - Initialise the Argon2BytesGenerator from the parameters.
-
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
Constants
- ARGON2_ADDRESSES_IN_BLOCK → const int
- ARGON2_BLOCK_SIZE → const int
- ARGON2_PREHASH_DIGEST_LENGTH → const int
- ARGON2_PREHASH_SEED_LENGTH → const int
- ARGON2_QWORDS_IN_BLOCK → const int
- ARGON2_SYNC_POINTS → const int
- M32L → const int
- MAX_PARALLELISM → const int
- MIN_ITERATIONS → const int
- Minimum and maximum number of passes.
- MIN_OUTLEN → const int
- Minimum and maximum digest size in bytes.
- MIN_PARALLELISM → const int
- Minimum and maximum number of lanes (degree of parallelism).