ewe.security
Interface EncryptionKey
- All Known Implementing Classes:
- RSAKey
- public interface EncryptionKey
An EncryptionKey is a class that can encrypt or decrypt a short block of data. It is
usually implemented by Public/Private Key pairs (e.g. RSAKey).
|
Method Summary |
byte[] |
decrypt(byte[] source,
int offset,
int length)
|
byte[] |
encrypt(byte[] source,
int offset,
int length)
|
encrypt
public byte[] encrypt(byte[] source,
int offset,
int length)
throws IOException
- Throws:
IOException
decrypt
public byte[] decrypt(byte[] source,
int offset,
int length)
throws IOException
- Throws:
IOException