Skip to content

Commit 34f3bb7

Browse files
committed
release 1.7.0
1 parent b85ae47 commit 34f3bb7

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.password4j</groupId>
66
<artifactId>password4j</artifactId>
7-
<version>1.7.1-SNAPSHOT</version>
7+
<version>1.7.0</version>
88
<packaging>jar</packaging>
99

1010

@@ -19,7 +19,7 @@
1919
<connection>scm:git:git@github.com/Password4j/${project.artifactId}.git</connection>
2020
<developerConnection>scm:git:ssh://git@github.com/Password4j/${project.artifactId}.git</developerConnection>
2121
<url>https://github.com/Password4j/password4j</url>
22-
<tag>1.6.3</tag>
22+
<tag>1.7.0</tag>
2323
</scm>
2424

2525
<licenses>

src/test/com/password4j/PasswordTest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,19 @@ public void issue99()
11921192
assertEquals(expResult, printBytesToString(hash.getBytes()));
11931193
}
11941194

1195+
@Test
1196+
public void issue93()
1197+
{
1198+
String hash = "$argon2id$v=19$m=16384,t=2,p=1$nlm7oNI5zquzSYkyby6oVw$JOkJAYrDB0i2gmiJrXC6o2r+u1rszCm/RO9gIQtnxlY";
1199+
Argon2Function function = Argon2Function.getInstanceFromHash(hash);
1200+
1201+
boolean test1 = Password.check("Test123!", hash).with(function);
1202+
assertTrue(test1);
1203+
1204+
boolean test2 = function.check("Test123!", hash);
1205+
assertTrue(test2);
1206+
}
1207+
11951208
@Test
11961209
public void afterMigrationTests()
11971210
{

0 commit comments

Comments
 (0)