public abstract class Base64EncodedSaltGenerator extends Object implements SaltGenerator
Modifier and Type | Field and Description |
---|---|
protected Random |
secureRandom |
Constructor and Description |
---|
Base64EncodedSaltGenerator() |
Modifier and Type | Method and Description |
---|---|
protected String |
encodeSalt(byte[] salt) |
protected byte[] |
generateByteSalt() |
String |
generateSalt() |
protected abstract Integer |
getSaltLengthInByte() |
protected Random secureRandom
public String generateSalt()
generateSalt
in interface SaltGenerator
protected byte[] generateByteSalt()
protected String encodeSalt(byte[] salt)
protected abstract Integer getSaltLengthInByte()
Copyright © 2019. All rights reserved.