Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDifferentKeys (0.05 sec)

  1. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

            final String encrypted2 = cipher.encryptoText(original);
            final String decrypted2 = cipher.decryptText(encrypted2);
            assertThat(decrypted2, is(original));
        }
    
        @Test
        public void testDifferentKeys() {
            final CachedCipher cipher1 = new CachedCipher();
            cipher1.setKey("key1");
    
            final CachedCipher cipher2 = new CachedCipher();
            cipher2.setKey("key2");
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top