public interface LongPasswordStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
LongPasswordStrategy.BaseLongPasswordStrategy
Default base implementation
|
static class |
LongPasswordStrategy.PassThroughStrategy
A simple strategy that just returns the provided password without changing it.
|
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–2023. All rights reserved.