Module io.inverno.mod.security
Class SCryptPassword
java.lang.Object
io.inverno.mod.security.authentication.password.AbstractPassword<SCryptPassword,SCryptPassword.Encoder>
io.inverno.mod.security.authentication.password.SCryptPassword
- All Implemented Interfaces:
Password<SCryptPassword,
SCryptPassword.Encoder>
A password that uses Scrypt hashing function to encode password.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Nested Class Summary
-
Field Summary
Fields inherited from class io.inverno.mod.security.authentication.password.AbstractPassword
encoder, value
-
Constructor Summary
ConstructorDescriptionSCryptPassword
(String encoded, SCryptPassword.Encoder encoder) Creates a Scrypt password with the specified value and encoder. -
Method Summary
Methods inherited from class io.inverno.mod.security.authentication.password.AbstractPassword
equals, getEncoder, getValue, hashCode
-
Constructor Details
-
SCryptPassword
Creates a Scrypt password with the specified value and encoder.
- Parameters:
encoded
- the encoded password valueencoder
- the password encoder
-