- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,956 for key2 (0.17 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
guava/src/com/google/common/collect/Maps.java
} }; } /** * Returns an immutable map whose keys are the distinct elements of {@code keys} and whose value * for each key was computed by {@code valueFunction}. The map's iteration order is the order of * the first appearance of each key in {@code keys}. * * <p>When there are multiple instances of a key in {@code keys}, it is unspecified whether {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
} }; } /** * Returns an immutable map whose keys are the distinct elements of {@code keys} and whose value * for each key was computed by {@code valueFunction}. The map's iteration order is the order of * the first appearance of each key in {@code keys}. * * <p>When there are multiple instances of a key in {@code keys}, it is unspecified whether {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertNotNull(signingKey, "Signing key should not be null"); assertEquals(16, signingKey.length, "Signing key should be 16 bytes"); assertFalse(Arrays.equals(sessionKey, signingKey), "Signing key should be different from session key"); } @Test @DisplayName("Should derive different signing keys for different dialects") void testDeriveSigningKey_DifferentDialects() {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/main/java/jcifs/util/Crypto.java
key8[4] = (byte) (key[3] << 4 | (key[4] & 0xFF) >>> 4); key8[5] = (byte) (key[4] << 3 | (key[5] & 0xFF) >>> 5); key8[6] = (byte) (key[5] << 2 | (key[6] & 0xFF) >>> 6); key8[7] = (byte) (key[6] << 1); for (int i = 0; i < key8.length; i++) { key8[i] ^= Integer.bitCount(key8[i] ^ 1) & 1; } return key8; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
for i := range sz { var key []byte key, buf, err = msgp.ReadMapKeyZC(buf) if err != nil { return keys, err } if len(key) == 0 { return keys, fmt.Errorf("xlMetaInlineData: key %d is length 0", i) } keys = append(keys, string(key)) // Skip data... _, buf, err = msgp.ReadBytesZC(buf) if err != nil { return keys, err } } return keys, nil }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K bytes - Viewed (0) -
internal/store/batch_test.go
} key := keys[0] if !key.Compress { t.Fatal("expected key.Compress=true; but got false") } if key.ItemCount != int(limit) { t.Fatalf("expected key.ItemCount=%d; but got %v", limit, key.ItemCount) } items, err := store.GetMultiple(key) if err != nil { t.Fatalf("unable to read key %v; %v", key.String(), err) } if len(items) != int(limit) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.6K bytes - Viewed (0) -
internal/store/queuestore_test.go
} keys := store.List() if len(keys) != 1 { t.Fatalf("expected len(keys)=1, but found %d", len(keys)) } key := keys[0] if !key.Compress { t.Fatal("expected the item to be compressed") } if key.ItemCount != 10 { t.Fatalf("expected itemcount=10 but found %v", key.ItemCount) } raw, err := store.GetRaw(key) if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
} /** * Generate a random key * * @param length key length in bytes * @return random key bytes */ public byte[] generateRandomKey(int length) { checkNotClosed(); byte[] key = new byte[length]; secureRandom.nextBytes(key); return key; } /** * Clear all stored keys */ public void clearAllKeys() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0)