]> source.dussan.org Git - gitblit.git/commit
Add support for PBKDF2 to PasswordHash
authorFlorian Zschocke <florian.zschocke@devolo.de>
Tue, 5 Nov 2019 12:43:06 +0000 (13:43 +0100)
committerFlorian Zschocke <florian.zschocke@devolo.de>
Tue, 5 Nov 2019 21:20:37 +0000 (22:20 +0100)
commitd1ee233d27fae23b1d0a69bbb6b9a363c3a76abe
tree1dff0e74dbc06858715e1441c2b60a799c8d8aeb
parent4068b152e530305f588bd56e753045936e87ede0
Add support for PBKDF2 to PasswordHash

Integrate the work of pingunaut to add support for PBKDF2 password
hashing. A new class `PasswordHashPbkdf2` is added, which builds
on his `SecurePasswordHashUtils` class, but makes it a subclass
of `PasswordHash`. This will replace the original class when
integrating the new PasswordHash way into GitBlit.
src/main/java/com/gitblit/utils/PasswordHash.java
src/main/java/com/gitblit/utils/PasswordHashPbkdf2.java [new file with mode: 0644]
src/test/java/com/gitblit/utils/PasswordHashTest.java