- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for decrypt (0.18 sec)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java
for (String testStr : testStrings) { String encrypted = cipher.encrypt(testStr); String decrypted = cipher.decrypt(encrypted); assertEquals("Failed for: " + testStr, testStr, decrypted); } } // Test provider as CookieResourceProvider interface public void test_asInterface() {
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/main/java/jcifs/pac/kerberos/KerberosEncData.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
} } /** * Decrypts the given data. * * @param data * the data to decrypt * @return the decrypted data */ public byte[] decrypto(final byte[] data) { final Cipher cipher = pollDecryptoCipher(); byte[] decrypted; try { decrypted = cipher.doFinal(data);
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/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE); assertNotNull(decrypted); // With dummy data, we can't verify the content, just that it decrypts without error // and returns a result of the expected size. assertEquals(data.length - 24, decrypted.length); } /** * Test decrypt with an unsupported encryption type. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// Decrypt char[] decrypted = storage.decryptCredentials(encrypted); assertNotNull(decrypted, "Decrypted data should not be null"); assertArrayEquals(plaintext, decrypted, "Decrypted should match original"); // Clean up sensitive data Arrays.fill(plaintext, '\0'); Arrays.fill(decrypted, '\0'); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
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() { // Test with empty string
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/jcifs/smb1/util/DES.java
} /// Encrypt a block of bytes. /** * Encrypts an 8-byte block using DES * @param clearText the 8-byte plaintext block * @param cipherText the output 8-byte ciphertext block */ public void encrypt(final byte[] clearText, final byte[] cipherText) { encrypt(clearText, 0, cipherText, 0); } /// Decrypt a block of bytes. /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
<img src="/img/deployment/https/https04.drawio.svg"> ### Decrypt the Request { #decrypt-the-request } The TLS Termination Proxy would use the encryption agreed to **decrypt the request**, and would transmit the **plain (decrypted) HTTP request** to the process running the application (for example a process with Uvicorn running the FastAPI application).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
} return new DERSequence(v).getEncoded(); } /** * Creates a byte array representing the decrypted data part of a Kerberos ticket. * @param userName User principal name * @param userRealm User realm * @return A byte array representing the decrypted data * @throws IOException on encoding error */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertTrue(encrypted.length >= 52, "Encrypted message should include transform header"); // When - Decrypt byte[] decrypted = context.decryptMessage(encrypted); // Then - Verify decryption assertArrayEquals(plaintext, decrypted, "Decrypted message should match original plaintext"); } @Test @DisplayName("Should handle concurrent encryption operations safely")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)