Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for encryptText (0.4 seconds)

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

            final CachedCipher cipher2 = new CachedCipher();
            cipher2.setKey("key2");
    
            final String original = "Hello World";
            final String encrypted1 = cipher1.encryptText(original);
            final String encrypted2 = cipher2.encryptText(original);
    
            assertThat(encrypted1, is(not(encrypted2)));
            assertThat(cipher1.decryptText(encrypted1), is(original));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         *
         * @param text
         *            the text to encrypt
         * @return the encrypted text
         * @deprecated Use {@link #encryptText(String)} instead. This method name contains a typo.
         */
        @Deprecated
        public String encryptoText(final String text) {
            return encryptText(text);
        }
    
        /**
         * Decrypts the given data.
         *
         * @param data
         *            the data to decrypt
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = true;
            value = cipher.encryptoText("role1");
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(1, roleSet.size());
            assertTrue(roleSet.contains("role1"));
    
            encrypted = true;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
Back to Top