Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,954 for key8 (0.02 sec)

  1. 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)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. KEYS.md

    # Signing key for Gradle artifacts
    
    Below is the public PGP key used to sign all Gradle artifacts.
    
    The key ID is `E2F38302C8075E3D` and its fingerprint is `1BD97A6A154E7810EE0BC832E2F38302C8075E3D`.
    You can also find the key in the [Gradle website](https://gradle.org/keys/) and on [public key servers](https://keys.openpgp.org/search?q=maven-publishing%40gradle.com).
    
    ## Verification instructions
    
    ### Importing the key
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 04 14:29:13 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. tests/lru_test.go

    	lru := lru.NewLRU[string, int](2, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    	if _, ok := lru.Get("key1"); ok {
    		t.Errorf("Expected key1 to be removed, but it still exists")
    	}
    }
    
    func TestLRU_Add_UnlimitedSize_NoEviction(t *testing.T) {
    	lru := lru.NewLRU[string, int](0, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    	if _, ok := lru.Get("key1"); !ok {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. 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
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. internal/kms/secret-key.go

    	}
    	return NewBuiltin(keyID, key)
    }
    
    // NewBuiltin returns a single-key KMS that derives new DEKs from the
    // given key.
    func NewBuiltin(keyID string, key []byte) (*KMS, error) {
    	if len(key) != 32 {
    		return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key)))
    	}
    	return &KMS{
    		Type:       Builtin,
    		DefaultKey: keyID,
    		conn: secretKey{
    			keyID: keyID,
    			key:   key,
    		},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 21 16:23:51 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. internal/crypto/key.go

    }
    
    // SealedKey represents a sealed object key. It can be stored
    // at an untrusted location.
    type SealedKey struct {
    	Key       [64]byte // The encrypted and authenticated object-key.
    	IV        [32]byte // The random IV used to encrypt the object-key.
    	Algorithm string   // The sealing algorithm used to encrypt the object key.
    }
    
    // Seal encrypts the ObjectKey using the 256 bit external key and IV. The sealed
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java

                // Check order by collecting keys in iteration order
                List<String> keys = new ArrayList<>(resultProps.keySet());
    
                // Verify the original insertion order is maintained
                assertEquals(3, keys.size());
                assertEquals("third", keys.get(0));
                assertEquals("first", keys.get(1));
                assertEquals("second", keys.get(2));
            }
    
            @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 07:26:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. internal/config/identity/openid/jwks_test.go

    		t.Fatal("Unmarshal: ", err)
    	} else if len(jk.Keys) != 2 {
    		t.Fatalf("Expected 2 keys, got %d", len(jk.Keys))
    	}
    
    	keys := make([]crypto.PublicKey, len(jk.Keys))
    	for ii, jks := range jk.Keys {
    		var err error
    		keys[ii], err = jks.DecodePublicKey()
    		if err != nil {
    			t.Fatalf("Failed to decode key %d: %v", ii, err)
    		}
    	}
    
    	//nolint:gocritic
    	if key0, ok := keys[0].(*ecdsa.PublicKey); !ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top