public final class ClearTextEncryptionProvider extends Object implements EncryptionProvider
currentEncryptor
.Modifier and Type | Field and Description |
---|---|
static String |
ID
The provider id: "notencrypted"
|
Constructor and Description |
---|
ClearTextEncryptionProvider() |
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 © 2021 Actian Corporation. All rights reserved.