public class BasicDataEncryptionManager extends Object implements DataEncryptionManager
Constructor and Description |
---|
BasicDataEncryptionManager() |
Modifier and Type | Method and Description |
---|---|
String |
decryptData(byte[] encrypted) |
byte[] |
encryptData(String data) |
public String decryptData(byte[] encrypted) throws Exception
decryptData
in interface DataEncryptionManager
encrypted
- - the data to be decryptedException
public byte[] encryptData(String data) throws Exception
encryptData
in interface DataEncryptionManager
data
- - the data to be encryptedException
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.