List of utility methods to do Encrypt String
String | encrypt(String s) encrypt return encrypt(s, Cryptkey);
|
byte[] | encrypt(String str) encrypt if (str == null) { return null; if (str.length() == 0) { return NO_BYTES; byte[] bytes = toUTF(str); byte[] result = new byte[bytes.length + 1]; ... |
String | encrypt(String value) encrypt int ra = RANDOM.nextInt(19); int rb; do { rb = RANDOM.nextInt(19); } while (rb == ra || rb == 0); ra = 7; rb = 17; String ca = CIPHER[ra]; ... |
String | encryptString(String message) encrypt String return base64encode(xorMessage(message, ENCRYPT_KEY));
|