PBKDF2 constructor
PBKDF2({
- Hash? hashAlgorithm,
Creates instance capable of generating a key.
hashAlgorithm
defaults to sha256
.
Implementation
PBKDF2({Hash? hashAlgorithm}) {
this.hashAlgorithm = hashAlgorithm ?? sha256;
}