toEncoded method
Gets the PHC-compliant string for this Argon2HashDigest
Implementation
String toEncoded(Uint8List hashBytes) {
return toCrypt(
CryptDataBuilder(type.name)
.version('${version.value}')
.param('m', memorySizeKB)
.param('t', passes)
.param('p', lanes)
.saltBytes(salt)
.hashBytes(hashBytes)
.build(),
);
}