File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 >
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments