From 32fe73ce33ea52bb6bd29bdc8060f25b2c6d8e3e Mon Sep 17 00:00:00 2001 From: Moritz Kammerer Date: Tue, 6 Apr 2021 19:16:31 +0200 Subject: [PATCH] Version 2.10 --- CHANGELOG.md | 2 ++ README.md | 16 +++++++--------- build.gradle | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95e930d..91dc21a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. This projec ## Unreleased +## [2.10] - 2021-04-06 + ### Added - Added support for Apple's M1 ([PR](https://github.com/phxql/argon2-jvm/pull/82), [VirusTotal scan of the binary](https://www.virustotal.com/gui/file-analysis/ZDQ3ZTQ1ZTIxNTYzY2YyZmU5ZGJjYzQyNGY5ZWY4MzY6MTYxNDA2NzU3MA==/detection)) diff --git a/README.md b/README.md index 12d22af..92545ab 100644 --- a/README.md +++ b/README.md @@ -7,22 +7,20 @@ This is a JVM binding for [Argon2](https://github.com/P-H-C/phc-winner-argon2). Without pre-compiled Argon2 libraries (recommended, install argon2 via your package manager): ```xml - de.mkammerer argon2-jvm-nolibs - 2.10-SNAPSHOT + 2.10 ``` With pre-compiled Argon2 libraries: ```xml - de.mkammerer argon2-jvm - 2.10-SNAPSHOT + 2.10 ``` @@ -31,13 +29,13 @@ With pre-compiled Argon2 libraries: Without pre-compiled Argon2 libraries (recommended, install argon2 via your package manager): ```groovy -implementation 'de.mkammerer:argon2-jvm-nolibs:2.10-SNAPSHOT' +implementation 'de.mkammerer:argon2-jvm-nolibs:2.10' ``` With pre-compiled Argon2 libraries: ```groovy -implementation 'de.mkammerer:argon2-jvm:2.10-SNAPSHOT' +implementation 'de.mkammerer:argon2-jvm:2.10' ``` ## Usage @@ -88,13 +86,13 @@ The recommended parameters for the `hash` call above can be found in the [whitep You can use the method `Argon2Helper.findIterations` to find the optimal number of iterations on your system: ```java -Argon2 argon2=Argon2Factory.create(); +Argon2 argon2 = Argon2Factory.create(); // 1000 = The hash call must take at most 1000 ms // 65536 = Memory cost // 1 = parallelism -int iterations=Argon2Helper.findIterations(argon2,1000,65536,1); +int iterations = Argon2Helper.findIterations(argon2, 1000, 65536, 1); -System.out.println("Optimal number of iterations: "+iterations); +System.out.println("Optimal number of iterations: " + iterations); ``` ## Compile Argon2 yourself diff --git a/build.gradle b/build.gradle index d42ce46..0b86100 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ subprojects { apply plugin: 'signing' group 'de.mkammerer' - version '2.10-SNAPSHOT' + version '2.10' description 'Argon2 Binding for the JVM' repositories {