@Test void testThreefish() { CryptoEngine cryptoEngine = CryptoEngine.threefish("PASSWORD"); byte[] encrypted = cryptoEngine.encryptString("Jodd"); assertEquals("Jodd", cryptoEngine.decryptString(encrypted)); }
@Test void testThreefish() { CryptoEngine cryptoEngine = CryptoEngine.threefish("PASSWORD"); byte[] encrypted = cryptoEngine.encryptString("Jodd"); assertEquals("Jodd", cryptoEngine.decryptString(encrypted)); }