|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SynchronousKey
An interface to support very simple synchronous key encryption. The entire data to be encrypted needs to fit into memory, i.e. this scheme is not appropriate to encode/decode large files at once.
Encoded| Method Summary | |
|---|---|
byte[] |
decode(byte[] encrypted)
decodes the given byte array |
byte[] |
encode(byte[] plainSource)
encodes the given byte array |
java.lang.String |
getKeySignature()
returns a signature that is used to identify the key that needs to be known for both, encoding and decoding |
| Method Detail |
|---|
byte[] decode(byte[] encrypted)
encrypted - DOCUMENT ME!
byte[] encode(byte[] plainSource)
plainSource - DOCUMENT ME!
java.lang.String getKeySignature()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||