Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 31 for encrypto (0.04 seconds)

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

            cipher.setKey("mySecretKey");
    
            final byte[] original = "Hello World".getBytes();
            final byte[] encrypted = cipher.encrypto(original);
            final byte[] decrypted = cipher.decrypto(encrypted);
    
            assertThat(encrypted, is(not(original)));
            assertArrayEquals(original, decrypted);
        }
    
        @Test
        @SuppressWarnings("deprecation")
    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/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                @Override
                public String encrypt(String plainText) {
                    return "encrypted:" + plainText;
                }
    
                @Override
                public String decrypt(String cryptedText) {
                    return cryptedText.startsWith("encrypted:") ? cryptedText.substring("encrypted:".length()) : cryptedText;
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                        }
                    }
                }
            }
            return paramMap;
        }
    
        /**
         * Encrypts sensitive parameter values.
         *
         * @param value the parameter string
         * @return the encrypted parameter string
         */
        public static String encrypt(final String value) {
            final StringBuilder buf = new StringBuilder();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

      ) {
        enum class Type {
          Handshake,
          Plaintext,
          Encrypted,
          Setup,
          Unknown,
        }
    
        val type: Type
          get() =
            when {
              message == "adding as trusted certificates" -> Type.Setup
              message == "Raw read" || message == "Raw write" -> Type.Encrypted
              message == "Plaintext before ENCRYPTION" || message == "Plaintext after DECRYPTION" -> Type.Plaintext
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java

        }
    
        /**
         * Stores a web authentication configuration.
         * Parameters are encrypted before storage.
         *
         * @param webAuthentication The web authentication configuration to store
         */
        public void store(final WebAuthentication webAuthentication) {
            webAuthentication.setParameters(ParameterUtil.encrypt(webAuthentication.getParameters()));
            webAuthenticationBhv.insertOrUpdate(webAuthentication, op -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java

        /**
         * Stores a file authentication configuration.
         * The parameters are encrypted before storage for security.
         *
         * @param fileAuthentication the file authentication configuration to store
         */
        public void store(final FileAuthentication fileAuthentication) {
            fileAuthentication.setParameters(ParameterUtil.encrypt(fileAuthentication.getParameters()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

         * This method encrypts the configuration parameters before saving and
         * performs an insert or update operation based on whether the configuration exists.
         *
         * @param fileConfig the file configuration to be stored
         */
        public void store(final FileConfig fileConfig) {
            fileConfig.setConfigParameter(ParameterUtil.encrypt(fileConfig.getConfigParameter()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. CLAUDE.md

    ├── collection/  # Enhanced collections (LruHashMap, CaseInsensitiveMap)
    ├── concurrent/  # Concurrency utilities
    ├── convert/     # Type conversion (*ConversionUtil)
    ├── crypto/      # Cipher & encryption (CachedCipher)
    ├── exception/   # Runtime exception wrappers
    ├── io/          # I/O & resource utilities
    ├── jar/         # JAR file utilities
    ├── lang/        # Reflection & language utilities
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 12 03:38:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

        }
    
        /**
         * Stores a web configuration.
         * Configuration parameters are encrypted before storage.
         *
         * @param webConfig The web configuration to store
         */
        public void store(final WebConfig webConfig) {
            webConfig.setConfigParameter(ParameterUtil.encrypt(webConfig.getConfigParameter()));
            webConfigBhv.insertOrUpdate(webConfig, op -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        /**
         * Stores (inserts or updates) a data configuration.
         *
         * <p>This method encrypts sensitive handler parameters before storing
         * and immediately refreshes the index to ensure the change is visible.
         * If the configuration already exists (based on ID), it will be updated;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top