public static class PasswordData.SuffixSalt extends Object implements PasswordData.Salt
Constructor and Description |
---|
SuffixSalt(String slt)
Creates a new salt with the given salt data.
|
Modifier and Type | Method and Description |
---|---|
String |
applyTo(String password)
Applies the salt to the password, returning the combined string to be digested.
|
public SuffixSalt(String slt)
slt
- the salt datapublic String applyTo(String password)
PasswordData.Salt
applyTo
in interface PasswordData.Salt
password
- the cleartext password to apply the salt toCopyright © 2003-2024 Virginia Tech. All Rights Reserved.