Package net.rwx.padlock
Class PasswordService
- java.lang.Object
-
- net.rwx.padlock.PasswordService
-
@ApplicationScoped public class PasswordService extends Object
This service provide method to hash and verify passwords.- Author:
- Arnaud Fonce
-
-
Constructor Summary
Constructors Constructor Description PasswordService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringhash(char[] password, boolean wipePassword)booleanverify(char[] password, String hash, boolean wipePassword)
-