public interface LongPasswordStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
LongPasswordStrategy.BaseLongPasswordStrategy |
static class |
LongPasswordStrategy.Sha512DerivationStrategy
Will use sha512 to hash given password to generate fixed 64 byte length hash value
|
static class |
LongPasswordStrategy.StrictMaxPasswordLengthStrategy
This strategy will always throw an exception to force passwords under the max length
|
static class |
LongPasswordStrategy.TruncateStrategy
Truncates the password the max possible length.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
derive(byte[] rawPassword)
Derives (hashes, shortens, etc) the given password to a desired max length.
|
Copyright © 2018. All rights reserved.