Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CachedCipher (0.55 sec)

  1. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * <p>
     * <strong>Usage Example:</strong>
     * </p>
     * <pre>
     * CachedCipher cipher = new CachedCipher();
     * cipher.setKey("mySecretKey");
     *
     * // Encrypt text
     * String encrypted = cipher.encryptText("Hello World");
     *
     * // Decrypt text
     * String decrypted = cipher.decryptText(encrypted);
     *
     * // For AES encryption
     * CachedCipher aesCipher = new CachedCipher();
     * aesCipher.setAlgorithm("AES");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

            assertThat(decrypted2, is(original));
        }
    
        @Test
        public void testDifferentKeys() {
            final CachedCipher cipher1 = new CachedCipher();
            cipher1.setKey("key1");
    
            final CachedCipher cipher2 = new CachedCipher();
            cipher2.setKey("key2");
    
            final String original = "Hello World";
            final String encrypted1 = cipher1.encryptText(original);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.crypto.CachedCipher;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.app.service.AccessTokenService;
    import org.codelibs.fess.entity.SearchRequestParams.SearchRequestType;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/resources/fess.xml

    		<property name="cookieKey">"fessRoles"</property>
    		<property name="encryptedCookieValue">true</property>
    		<property name="cipher">
    			<component class="org.codelibs.core.crypto.CachedCipher">
    				<property name="key">"1234567890123456"</property>
    			</component>
    		</property>
    		<property name="valueSeparator">"\\n"</property>
    		<property name="roleSeparator">","</property>
    		 -->
    	</component>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jul 28 09:03:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ComponentUtil.java

    import java.util.List;
    import java.util.Map;
    import java.util.function.Consumer;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.crypto.CachedCipher;
    import org.codelibs.core.misc.DynamicProperties;
    import org.codelibs.fess.api.WebApiManagerFactory;
    import org.codelibs.fess.auth.AuthenticationManager;
    import org.codelibs.fess.cors.CorsHandlerFactory;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top