public final class XoredData
extends java.lang.Object
Constructor and Description |
---|
XoredData(byte[] data,
byte[] nonce) |
public static XoredData encrypt(byte[] plaintext, byte[] myPrivateKey, byte[] theirPublicKey)
public byte[] decrypt(byte[] myPrivateKey, byte[] theirPublicKey)
public byte[] getData()
public byte[] getNonce()