change b64 implem step1, fix test
[nikiroo-utils.git] / src / be / nikiroo / utils / test_code / CryptUtilsTest.java
index 61e18fbb49198ec36240d361a9d16d13a44af7c3..49005acdc054359508bfd5ef593bb3dfdbaa3962 100644 (file)
@@ -136,7 +136,7 @@ class CryptUtilsTest extends TestLauncher {
                        @Override
                        public void test() throws Exception {
                                InputStream in = new ByteArrayInputStream(new byte[] {42, 127, 12});
-                               crypt.encryptInputStream(in);
+                               crypt.encrypt(in);
                                ByteArrayOutputStream out = new ByteArrayOutputStream();
                                IOUtils.write(in, out);
                                byte[] result = out.toByteArray();