public static class PasswordData.PrefixSalt extends Object implements PasswordData.Salt
| Constructor and Description |
|---|
PrefixSalt(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 PrefixSalt(String slt)
slt - the salt datapublic String applyTo(String password)
PasswordData.SaltapplyTo in interface PasswordData.Saltpassword - the cleartext password to apply the salt toCopyright © 2003-2024 Virginia Tech. All Rights Reserved.