We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current Argon2 interface has no method for executing Argon2 with a custom selected salt as it is needed for key derivation.
Please provide a method that allows to specify the salt value and returns the generated byte[] for example:
byte[]
byte[] hash(int iterations, int memory, int parallelism, byte[] salt, byte[] data);
The text was updated successfully, but these errors were encountered:
Seems like this feature is a bit hidden, I finally found it:
Argon2Advanced argon2 = Argon2Factory.createAdvanced(); HashResult result = argon2.hashAdvanced(iterations, memory, parallelism, pwd, salt, 80, Argon2Version.V13); byte[] output = result.getRaw();
Sorry, something went wrong.
If you need key derivation, you can also take a look at de.mkammerer.argon2.Argon2Advanced#pbkdf, which is a password based key derivation.
de.mkammerer.argon2.Argon2Advanced#pbkdf
No branches or pull requests
The current Argon2 interface has no method for executing Argon2 with a custom selected salt as it is needed for key derivation.
Please provide a method that allows to specify the salt value and returns the generated
byte[]
for example:byte[] hash(int iterations, int memory, int parallelism, byte[] salt, byte[] data);
The text was updated successfully, but these errors were encountered: