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.Salt
applyTo
in interface PasswordData.Salt
password
- the cleartext password to apply the salt toCopyright © 2003-2024 Virginia Tech. All Rights Reserved.