- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for encrypto (0.08 seconds)
-
src/main/java/org/codelibs/core/crypto/CachedCipher.java
/** * Encrypts the given data with the specified key. * * @param data * the data to encrypt * @param key * the key to use for encryption * @return the encrypted data */ public byte[] encrypt(final byte[] data, final Key key) { final Cipher cipher = pollEncryptoCipher(key); byte[] encrypted; try {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) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
* Parses the role set from a string. * @param value The string to parse. * @param encrypted Whether the string is encrypted. * @param roleSet The set of roles. */ protected void parseRoleSet(final String value, final boolean encrypted, final Set<String> roleSet) { String rolesStr = value; if (encrypted && cipher != null) { try { rolesStr = cipher.decryptoText(rolesStr);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K bytes - Click Count (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); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.2K bytes - Click Count (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=";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 22.8K bytes - Click Count (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) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
Set<String> roleSet; boolean encrypted; String value; encrypted = false; value = ""; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(0, roleSet.size()); encrypted = false; value = "role1"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(0, roleSet.size());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) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
// Consuming server Finished handshake message // Produced ClientHello handshake message // // Raw write // Raw read // Plaintext before ENCRYPTION // Plaintext after DECRYPTION val message = record.message val parameters = record.parametersCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
} } /** * Finds a login user by username and encrypted password. * * @param username the username to search for * @param cipheredPassword the encrypted password to match * @return an optional entity containing the found user, or empty if not found */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
import com.google.common.collect.Table; import com.google.common.testing.NullPointerTester; import java.security.Key; import java.util.Arrays; import javax.crypto.Mac; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; import sun.security.jca.ProviderList;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.testing import android.os.Build import com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider import com.amazon.corretto.crypto.provider.SelfTestStatus import java.lang.reflect.Method import java.security.Security import okhttp3.TestUtil import okhttp3.internal.platform.ConscryptPlatform
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 15.5K bytes - Click Count (1)