@Service public class CryptoService extends Object
| Constructor and Description |
|---|
CryptoService() |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(ByteBuffer encryptedBuffer,
Map<String,String> aeadContext) |
String |
decryptWithDefaultContext(ByteBuffer encryptedBuffer) |
ByteBuffer |
encrypt(String stringToEncrypt,
Map<String,String> aeadContext) |
ByteBuffer |
encryptWithDefaultContext(String stringToEncrypt) |
public ByteBuffer encrypt(String stringToEncrypt, Map<String,String> aeadContext)
public String decrypt(ByteBuffer encryptedBuffer, Map<String,String> aeadContext)
public ByteBuffer encryptWithDefaultContext(String stringToEncrypt)
public String decryptWithDefaultContext(ByteBuffer encryptedBuffer)
Copyright © 2016–2019 Taimos GmbH. All rights reserved.