Package | Description |
---|---|
com.ibm.websphere.crypto |
Provides the classes necessary to encode or decode the sensitive data.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
PasswordUtil.encode(java.lang.String decoded_string)
Encode the provided password by using the default encoding algorithm.
|
static java.lang.String |
PasswordUtil.encode(java.lang.String decoded_string,
java.lang.String crypto_algorithm)
Encode the provided password by using the specified encoding algorithm.
|
static java.lang.String |
PasswordUtil.encode(java.lang.String decoded_string,
java.lang.String crypto_algorithm,
java.util.Map<java.lang.String,java.lang.String> properties)
Encode the provided string with the specified algorithm and the properties
If the decoded_string is already encoded, the string will be decoded and then encoded by using the specified crypto algorithm.
|
static java.lang.String |
PasswordUtil.encode(java.lang.String decoded_string,
java.lang.String crypto_algorithm,
java.lang.String crypto_key)
Encode the provided string with the specified algorithm and the crypto key
If the decoded_string is already encoded, the string will be decoded and then encoded by using the specified crypto algorithm.
|