public class XorCipher
extends java.lang.Object
Constructor and Description |
---|
XorCipher() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
applyXor(byte[] key,
byte[] input) |
static byte[] |
decrypt(byte[] key,
byte[] ciphertext) |
static byte[] |
encrypt(byte[] key,
byte[] message) |