@Service public class AESEncryptionServiceImpl extends Object implements EncryptionService
| Constructor and Description |
|---|
AESEncryptionServiceImpl(String key,
String initVector) |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String value) |
String |
encrypt(String value) |
String |
getKey() |
public String encrypt(String value) throws EncryptionException
encrypt in interface EncryptionServiceEncryptionExceptionpublic String decrypt(String value)
decrypt in interface EncryptionServicepublic String getKey()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.