Interface Encryptor
public interface Encryptor
- Author:
- Brian Wing Shun Chan, Shuyang Zhou, Mika Koivisto
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decryptUnencodedAsBytes
(Key key, byte[] encryptedBytes) deserializeKey
(String base64String) byte[]
encryptUnencoded
(Key key, byte[] plainBytes) byte[]
encryptUnencoded
(Key key, String plainText) serializeKey
(Key key)
-
Method Details
-
decrypt
- Throws:
EncryptorException
-
decryptUnencodedAsBytes
- Throws:
EncryptorException
-
deserializeKey
-
encrypt
- Throws:
EncryptorException
-
encryptUnencoded
- Throws:
EncryptorException
-
encryptUnencoded
- Throws:
EncryptorException
-
generateKey
- Throws:
EncryptorException
-
serializeKey
-