-
- All Superinterfaces:
InitializeSupport
- All Known Implementing Classes:
PbeEncryptor,PoolEncryptor,RsaEncryptor
public interface Encryptor extends InitializeSupport
- Author:
- Loc Ha
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Encryptorcopy()byte[]decrypt(byte[] message)byte[]decrypt(byte[] message, byte[] salt)byte[]encrypt(byte[] message)byte[]encrypt(byte[] message, Out<byte[]> salt)-
Methods inherited from interface com.appslandia.common.base.InitializeSupport
destroy, initialize
-
-
-
-
Method Detail
-
encrypt
byte[] encrypt(byte[] message) throws CryptoException- Throws:
CryptoException
-
decrypt
byte[] decrypt(byte[] message) throws CryptoException- Throws:
CryptoException
-
encrypt
byte[] encrypt(byte[] message, Out<byte[]> salt) throws CryptoException- Throws:
CryptoException
-
decrypt
byte[] decrypt(byte[] message, byte[] salt) throws CryptoException- Throws:
CryptoException
-
copy
Encryptor copy()
-
-