Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dargon2] Document memory units #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dargon2_interface/lib/src/argon2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ abstract class DArgon2 {
/// The Future method to hash a [String] password with Argon2
///
/// Needs a UTF-8 String [password] and a [salt] to be given with
/// an optional parameters to control the amount of [iterations], [memory],
/// an optional parameters to control the amount of [iterations], [memory] (in kibibytes),
/// [parallelism] used during the operation. Also optionally takes a [length]
/// parameter for the hash's return length, as well as a [type] and [version].
///
Expand All @@ -65,7 +65,7 @@ abstract class DArgon2 {
/// The Future method to hash a List<int> password with Argon2
///
/// Needs a [List] of type int [password] and a [salt] to be given with
/// an optional parameters to control the amount of [iterations], [memory],
/// an optional parameters to control the amount of [iterations], [memory] (in kibibytes),
/// [parallelism] used during the operation. Also optionally takes a [length]
/// parameter for the hash's return length, as well as a [type] and [version].
///
Expand Down