PBKDF2 constructor

PBKDF2({
  1. int blockLength = 128,
  2. int iterationCount = 2048,
  3. int desiredKeyLength = 64,
})

Implementation

PBKDF2({
  this.blockLength = 128,
  this.iterationCount = 2048,
  this.desiredKeyLength = 64,
}) : derivator = PBKDF2KeyDerivator(HMac(SHA512Digest(), blockLength));