Argon2BytesGenerator class
Argon2 PBKDF, the winner of the 2015 Password Hashing Competition. Read more:
First ported to Dart by Graciliano M. Passos:
The linked project was adapted for the purposes of this project, since it is a 1:1 port of BouncyCastle's Java implementation.
- Implemented types
Constructors
Properties
- algorithmName → String
- 
  Get this algorithm's standard name.
  no setteroverride
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- keySize → int
- 
  Get this derivator key's output size.
  no setteroverride
- parameters → Argon2Parameters
- 
  
  no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  deriveKey(Uint8List inp, int inpOff, Uint8List out, int outOff) → int 
- 
  Derive key from given input and put it in outat offsetoutOff.override
- 
  init(covariant Argon2Parameters parameters) → void 
- 
  Initialise the Argon2BytesGenerator from the parameters.
  override
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  process(Uint8List data) → Uint8List 
- 
  Process a whole block of dataat once, returning the result in a byte array.inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Properties
- factoryConfig → FactoryConfig
- 
  
  final
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).