public final class DefaultEncryptionProvider extends Object implements EncryptionProvider
Modifier and Type | Field and Description |
---|---|
static String |
ID
The default encryption provider ID: "default"
|
Constructor and Description |
---|
DefaultEncryptionProvider() |
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String string)
Decrypts a given string.
|
String |
encrypt(String string)
Encrypts the given string.
|
String |
getProviderID()
Returns a unique identifier for this provider
|
public static final String ID
public String getProviderID()
EncryptionProvider
getProviderID
in interface EncryptionProvider
public String encrypt(String string)
EncryptionProvider
encrypt
in interface EncryptionProvider
string
- the clear textpublic String decrypt(String string)
EncryptionProvider
EncryptionProvider.encrypt(String)
.decrypt
in interface EncryptionProvider
string
- the string to decryptCopyright © 2020 Actian Corporation. All rights reserved.