- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,490 for Cipher (0.15 sec)
-
src/main/java/org/codelibs/fess/util/ParameterUtil.java
final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher(); ParameterUtil.parse(value).entrySet().stream().map(e -> { final String k = e.getKey(); final String v = e.getValue(); if (properyPattern.matcher(k).matches() && !v.startsWith(CIPHER_PREFIX)) { return new Pair<>(k, CIPHER_PREFIX + cipher.encrypt(v)); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should handle different cipher IDs") void testDifferentCipherIds() { // Test cipher ID 1 (AES-CCM) Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1"); // Test cipher ID 2 (AES-GCM)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Assert // Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length) // This appears to be a bug in the implementation, but we test the actual behavior assertEquals(6, encodedSize); // actual encoded size: 2 bytes count + 2*2 bytes for ciphers assertEquals(2, buffer[0]); // cipher count (little endian) assertEquals(0, buffer[1]);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
/* RC4 was not added to Java until 1.5u7 so let's use our own for a little while longer ... try { Cipher rc4 = Cipher.getInstance("RC4"); rc4.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(ntlm2SessionKey, "RC4")); rc4.update(masterKey, 0, 16, exchangedKey, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
public void saveEncrypted(HandleInfo handle, Path file) throws Exception { Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (CipherOutputStream cos = new CipherOutputStream(baos, cipher); ObjectOutputStream oos = new ObjectOutputStream(cos)) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertArrayEquals(ciphers, decoded.getCiphers()); } catch (SMBProtocolDecodingException e) { fail("Should not throw exception: " + e.getMessage()); } } @Test @DisplayName("Should verify cipher constants") void testCipherConstants() { // Verify the cipher constants are correctly defined
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
private byte[] type1Bytes; private byte[] signKey; private byte[] verifyKey; private byte[] sealClientKey; private byte[] sealServerKey; private Cipher sealClientHandle; private Cipher sealServerHandle; /** * Creates a new NTLM security context with the specified parameters. * @param tc * context to use * @param auth
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
try { initProcesses.forEach(action); } finally { initProcesses.clear(); } } /** * Gets a cached cipher by name. * @param cipherName The cipher name. * @return The cached cipher. */ public static CachedCipher getCipher(final String cipherName) { return getComponent(cipherName); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 28.9K bytes - Viewed (0)