| Constructor and Description |
|---|
NullCryptor() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] ciphertext)
Decrypt the ciphertext in byte array format to yield the original
cleartext.
|
String |
decrypt(String ciphertext) |
byte[] |
encrypt(byte[] cleartext)
Encrypt the cleartext in byte array format.
|
String |
encrypt(String cleartext) |
Object |
sealObject(Object object) |
Object |
unsealObject(Object object) |
public byte[] encrypt(byte[] cleartext)
throws CryptoException
Cryptorencrypt in interface Cryptorcleartext - The text to be encrypted, in byte formCryptoExceptionpublic String encrypt(String cleartext) throws CryptoException
CryptoExceptionpublic Object sealObject(Object object) throws CryptoException
sealObject in interface CryptorCryptoExceptionpublic byte[] decrypt(byte[] ciphertext)
throws CryptoException
Cryptordecrypt in interface Cryptorciphertext - The text to be encrypted, in byte formCryptoExceptionpublic String decrypt(String ciphertext) throws CryptoException
CryptoExceptionpublic Object unsealObject(Object object) throws CryptoException
unsealObject in interface CryptorCryptoExceptionCopyright © 2019. All rights reserved.