X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2Ftest_code%2FCryptUtilsTest.java;h=0c53461ea56aed8c5959e4b834ac90306994c8f4;hb=a6a73de36765b85947ac885529da82d3e7189269;hp=11578f5be88901f6555ee3d6cb9a2c5801d756c7;hpb=a20e02bbb6efd91f99af9ad37dc5a1414393b008;p=fanfix.git diff --git a/src/be/nikiroo/utils/test_code/CryptUtilsTest.java b/src/be/nikiroo/utils/test_code/CryptUtilsTest.java index 11578f5..0c53461 100644 --- a/src/be/nikiroo/utils/test_code/CryptUtilsTest.java +++ b/src/be/nikiroo/utils/test_code/CryptUtilsTest.java @@ -75,8 +75,8 @@ class CryptUtilsTest extends TestLauncher { @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); } @@ -97,8 +97,8 @@ class CryptUtilsTest extends TestLauncher { @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); } @@ -119,8 +119,8 @@ class CryptUtilsTest extends TestLauncher { @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); }