Skip to content

Commit

Permalink
BugFix: Argon2.fromEncoded hash length
Browse files Browse the repository at this point in the history
  • Loading branch information
dipu-bd committed Jun 29, 2024
1 parent 5c225eb commit 27881ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/algorithms/argon2/argon2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class Argon2 extends KeyDerivatorBase {
parallelism: int.parse(p),
memorySizeKB: int.parse(m),
salt: data.saltBytes(),
hashLength: data.hash?.length,
hashLength: data.hashBytes()?.lengthInBytes,
key: key,
personalization: personalization,
);
Expand Down

0 comments on commit 27881ba

Please sign in to comment.