public class Memfrob
extends Object
The word "frobnicate" is sometimes used to refer to this particular method of encryption, which simply performs an Exclusive Or on each byte with the number 42 (which is an interesting number if you're a fan of The Hitch Hiker's Guide To The Galaxy series by Douglas Adams).
Modifier and Type | Field and Description |
---|---|
static String |
VERSION
Version number of this Package (read-only).
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
frobnicate(byte... data)
"Frobnicates" a binary data using the Memfrob technique.
|
static byte[] |
frobnicate(String message)
"Frobnicates" a message using the Memfrob technique.
|
public static final String VERSION
public static byte[] frobnicate(byte... data)
data
- The bytes to "frobnicate"public static byte[] frobnicate(String message)
message
- The string to "frobnicate"