- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 490 for key7 (0.04 sec)
-
src/main/java/jcifs/smb1/util/DES.java
key8[2] = (byte) (((key7[1] & 0x03) << 5 | (key7[2] & 0xff) >> 3 & 0xff) & 0xff); key8[3] = (byte) (((key7[2] & 0x07) << 4 | (key7[3] & 0xff) >> 4 & 0xff) & 0xff); key8[4] = (byte) (((key7[3] & 0x0F) << 3 | (key7[4] & 0xff) >> 5 & 0xff) & 0xff); key8[5] = (byte) (((key7[4] & 0x1F) << 2 | (key7[5] & 0xff) >> 6 & 0xff) & 0xff); key8[6] = (byte) (((key7[5] & 0x3F) << 1 | (key7[6] & 0xff) >> 7 & 0xff) & 0xff);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key"); // Changing domain should change the key (domain is part of MAC input) byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password); assertFalse(Arrays.equals(viaPassword, differentDomain), "Different domain should produce a different key"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
/* * Accepts key multiple of 7 * Returns enc multiple of 8 * Multiple is the same like: 21 byte key gives 24 byte result */ static void E(final byte[] key, final byte[] data, final byte[] e) throws ShortBufferException { final byte[] key7 = new byte[7]; final byte[] e8 = new byte[8]; for (int i = 0; i < key.length / 7; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
/* Accepts key multiple of 7 * Returns enc multiple of 8 * Multiple is the same like: 21 byte key gives 24 byte result */ private static void E(final byte[] key, final byte[] data, final byte[] e) { final byte[] key7 = new byte[7]; final byte[] e8 = new byte[8]; for (int i = 0; i < key.length / 7; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
public void test_putAndGet() { dataStoreParams.put("key1", "value1"); assertEquals("value1", dataStoreParams.get("key1")); dataStoreParams.put("key2", 123); assertEquals(123, dataStoreParams.get("key2")); dataStoreParams.put("key3", null); assertNull(dataStoreParams.get("key3")); } // Test get for non-existent key public void test_getNonExistentKey() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1); Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2); Smb2LeaseKey key3 = new Smb2LeaseKey(testBytes3); assertEquals(key1, key2); assertNotEquals(key1, key3); assertNotEquals(key1, null); assertNotEquals(key1, "not a lease key"); assertEquals(key1, key1); // reflexive } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
public void testGenerateRandomKey() { byte[] key1 = keyManager.generateRandomKey(32); byte[] key2 = keyManager.generateRandomKey(32); assertNotNull(key1, "Should generate key 1"); assertNotNull(key2, "Should generate key 2"); assertEquals(32, key1.length, "Key 1 should have correct length"); assertEquals(32, key2.length, "Key 2 should have correct length");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
while (same != 0xffffffff || diff != 0xffffffff) { int key1 = rand.nextInt(); // flip input bit for key2 int key2 = key1 ^ (1 << i); // get hashes int hash1 = function.hashInt(key1).asInt(); int hash2 = function.hashInt(key2).asInt(); // test whether the hash values have same output bits same |= ~(hash1 ^ hash2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
assertEquals(100, builder.initialSettings.get("key2")); assertEquals(true, builder.initialSettings.get("key3")); // Test overwriting existing setting builder.addInitialSettings("key1", "newValue1"); assertEquals(3, builder.initialSettings.size()); assertEquals("newValue1", builder.initialSettings.get("key1")); } @Test
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key3 = limitedManager.requestLease("/share/file3.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING); // key3 should definitely exist (just created) assertNotNull(limitedManager.getLease(key3)); // key1 should have been evicted (oldest) assertNull(limitedManager.getLease(key1)); // key2 should still exist (not the oldest)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0)