public class HashedProxy extends ZippedProxy
The underlying paradigm is that rather than incurring the extensive computational overhead of running encrypted streams between clients and servers, it much more efficient to encrypt only those specific objects containing sensitive information. It is even stronger than conventional encrypted streams in that each object can employ different cryptography. If the client and the server both have the derived class in their local codebases; it is possible to employ 'pad' (i.e. uncrackable) cyphers.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hashed
A flag to indicate if the payload has been hashed.
|
payload, proxy| Constructor and Description |
|---|
HashedProxy(Object proxy)
The constructor simply invokes the superclass ZippedProxy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
hashPayload()
A symetric hash algorithm, to convolve the array in to and out of plain
text.
|
invokeprotected transient boolean hashed
public HashedProxy(Object proxy)
proxy - The client proxy object, to be hashed at the server, and
unhashed at the client.Copyright © 2016. All Rights Reserved.