- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 601 for Different (0.05 sec)
-
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertFalse(Arrays.equals(decKey300, decKey311), "Decryption keys should be different for different dialects"); } @Test @DisplayName("Should derive different keys for different purposes with same dialect") void testDeriveKeys_DifferentPurposes() { // Given int dialect = Smb2Constants.SMB2_DIALECT_0311;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
byte[] encrypted2 = storage.encryptCredentials(plaintext.clone()); // Should produce different ciphertexts due to random IV assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts"); // But both should decrypt to same plaintext char[] decrypted1 = storage.decryptCredentials(encrypted1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
// Results should be different boolean different = false; for (int i = 0; i < result1.length; i++) { if (result1[i] != result2[i]) { different = true; break; } } assertEquals(true, different, "Different keys should produce different HMAC values"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
assertEquals(32, derived3.length, "Derived key should have correct length"); assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys"); assertFalse(Arrays.equals(derived1, derived3), "Different contexts should produce different keys"); } @Test public void testStoreNullKey() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
} } @Nested @DisplayName("Cross-Implementation Tests") class CrossImplementationTests { @Test @DisplayName("Should have different context types for different implementations") void testDifferentContextTypes() { PreauthIntegrityNegotiateContext preauth = new PreauthIntegrityNegotiateContext();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Assert assertArrayEquals(expected, actual, "NT hash must match known test vector"); } @Test @DisplayName("getNTHash: verify different passwords produce different hashes") void testGetNTHash_differentPasswords() { // Arrange String password1 = "password"; String password2 = "Password"; // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
try { // Time comparison between different length passwords long timeDiffLength = measureEqualsTime(auth1, auth2, TIMING_ITERATIONS); // Create same length passwords for comparison char[] password3 = "short".toCharArray(); char[] password4 = "shore".toCharArray(); // Same length, different contentRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
assertTrue(fileInfo.matches(1024L, 1000L, 0x20)); // Should not match with different size assertFalse(fileInfo.matches(2048L, 1000L, 0x20)); // Should not match with different last modified assertFalse(fileInfo.matches(1024L, 2000L, 0x20)); // Should not match with different attributes assertFalse(fileInfo.matches(1024L, 1000L, 0x10)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/en/docs/tutorial/static-files.md
/// ### What is "Mounting" { #what-is-mounting } "Mounting" means adding a complete "independent" application in a specific path, that then takes care of handling all the sub-paths. This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.7K bytes - Viewed (0)