@Override
public void test() throws Exception {
String orig = "data";
- String encrypted = crypt.encrypt64(orig, false);
- String decrypted = crypt.decrypt64s(encrypted, false);
+ String encrypted = crypt.encrypt64(orig);
+ String decrypted = crypt.decrypt64s(encrypted);
assertEquals(orig, decrypted);
}
@Override
public void test() throws Exception {
String orig = "";
- String encrypted = crypt.encrypt64(orig, false);
- String decrypted = crypt.decrypt64s(encrypted, false);
+ String encrypted = crypt.encrypt64(orig);
+ String decrypted = crypt.decrypt64s(encrypted);
assertEquals(orig, decrypted);
}
@Override
public void test() throws Exception {
String orig = longData;
- String encrypted = crypt.encrypt64(orig, false);
- String decrypted = crypt.decrypt64s(encrypted, false);
+ String encrypted = crypt.encrypt64(orig);
+ String decrypted = crypt.decrypt64s(encrypted);
assertEquals(orig, decrypted);
}