- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for encrypt (0.06 sec)
-
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; } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
assertEquals(expect, ParameterUtil.encrypt(value)); value = ""; expect = ""; assertEquals(expect, ParameterUtil.encrypt(value)); value = "\n"; expect = ""; assertEquals(expect, ParameterUtil.encrypt(value)); value = "="; expect = "unknown.1="; assertEquals(expect, ParameterUtil.encrypt(value)); value = "=1\n=";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
assertNotNull(cryptographer); String plainText = "Hello, World!"; String encrypted = cryptographer.encrypt(plainText); assertNotNull(encrypted); assertFalse(plainText.equals(encrypted)); String decrypted = cryptographer.decrypt(encrypted); assertEquals(plainText, decrypted); } public void test_invertibleCryptography_withEmptyString() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 11.5K bytes - Viewed (0) -
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();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
deleteUserCodeFromCookie(request); return userCode; } /** * Creates an encrypted user code from a user ID. * The user ID is encrypted using the primary cipher and validated against the configuration. * * @param userCode the raw user ID to encrypt * @return the encrypted and validated user code, or null if invalid */ protected String createUserCodeFromUserId(String userCode) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
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 -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0tHuu2guQOHXvgR1m 0vdXcDazv/wor3ElhVsT/h5/WrQ8 -----END CERTIFICATE----- """.trimIndent().decodeCertificatePem() // CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US val letsEncryptCertificateAuthority = """ -----BEGIN CERTIFICATE----- MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.8K bytes - Viewed (0) -
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()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
import okhttp3.Request import okhttp3.tls.HandshakeCertificates import okhttp3.tls.decodeCertificatePem import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Test for new Let's Encrypt Root Certificate. */ @Tag("Remote") class LetsEncryptClientTest { @Test fun get() { // These tests wont actually run before Android 8.0 as per // https://github.com/mannodermaus/android-junit5
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.4K bytes - Viewed (0)