Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 105 for badkey (0.41 seconds)

  1. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

                    .toString())
            .isEqualTo("ad262969c53bc16032f160081c4a07a0");
      }
    
      public void testBadKey_emptyKey() throws Exception {
        SecretKey badKey =
            new SecretKey() {
              @Override
              public String getAlgorithm() {
                return "HmacMD5";
              }
    
              @Override
              public byte @Nullable [] getEncoded() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/SecureKeyManager.java

            byte[] labelBytes = label.getBytes(java.nio.charset.StandardCharsets.UTF_8);
            byte[] input = new byte[baseKey.length + labelBytes.length + (context != null ? context.length : 0)];
    
            int pos = 0;
            System.arraycopy(baseKey, 0, input, pos, baseKey.length);
            pos += baseKey.length;
            System.arraycopy(labelBytes, 0, input, pos, labelBytes.length);
            pos += labelBytes.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  3. cmd/encryption-v1.go

    		if err != nil {
    			return err
    		}
    		oldKey, err := GlobalKMS.Decrypt(ctx, &kms.DecryptRequest{
    			Name:           keyID,
    			Ciphertext:     kmsKey,
    			AssociatedData: kms.Context{bucket: path.Join(bucket, object)},
    		})
    		if err != nil {
    			return err
    		}
    		var objectKey crypto.ObjectKey
    		if err = objectKey.Unseal(oldKey, sealedKey, crypto.S3.String(), bucket, object); err != nil {
    			return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

        // Test field with CustomSize annotation for testing
        @CustomSize(minKey = "test.min", maxKey = "test.max")
        private String testField;
    
        // Test field with only minKey
        @CustomSize(minKey = "test.min.only")
        private String testFieldMinOnly;
    
        // Test field with only maxKey
        @CustomSize(maxKey = "test.max.only")
        private String testFieldMaxOnly;
    
        // Test field with custom message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. README.md

    </div>
    
    [![Python](https://img.shields.io/pypi/pyversions/tensorflow.svg)](https://badge.fury.io/py/tensorflow)
    [![PyPI](https://badge.fury.io/py/tensorflow.svg)](https://badge.fury.io/py/tensorflow)
    [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4724125.svg)](https://doi.org/10.5281/zenodo.4724125)
    [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1486/badge)](https://bestpractices.coreinfrastructure.org/projects/1486)
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Apr 02 10:38:57 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

            void testSourceKeyAllMax() {
                // Given
                byte[] maxKey = new byte[SOURCE_KEY_SIZE];
                Arrays.fill(maxKey, (byte) 0xFF);
                SrvCopychunk chunk = new SrvCopychunk(Long.MAX_VALUE, Long.MAX_VALUE, Integer.MAX_VALUE);
                SrvCopychunkCopy copy = new SrvCopychunkCopy(maxKey, chunk);
                byte[] buffer = new byte[100];
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/SecureKeyManagerTest.java

            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            byte[] rawKey = keyManager.getRawKey(sessionId);
            assertNotNull(rawKey, "Should retrieve raw key");
            assertArrayEquals(testKey, rawKey, "Raw key should match");
    
            // Verify we get a copy, not the original
            rawKey[0] = (byte) ~rawKey[0];
            byte[] rawKey2 = keyManager.getRawKey(sessionId);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

        int entryForValue = findEntryByValue(value, valueHash);
        if (entryForValue != ABSENT) {
          K oldKey = keys[entryForValue];
          if (Objects.equals(oldKey, key)) {
            return key;
          } else {
            replaceKeyInEntry(entryForValue, key, force);
            return oldKey;
          }
        }
    
        int predecessor = lastInInsertionOrder;
        int keyHash = smearedHash(key);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            indexUpdateCallback.mergeResponseData(dataMap, responseDataMap);
    
            assertEquals(1, dataMap.size());
            assertEquals("X1", dataMap.get("x"));
        }
    
        /** Case 3: Only overwrite key (baseKey not set) → generate baseKey, remove overwrite key */
        @Test
        public void test_mergeResponseData_overwriteOnly() {
            Map<String, Object> dataMap = new HashMap<>();
            Map<String, Object> responseDataMap = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertTrue(fullEntry.hasHandleCache());
    
            // Test read-only lease
            Smb2LeaseKey readKey = leaseManager.requestLease(path + "2", Smb2LeaseState.SMB2_LEASE_READ_CACHING);
            leaseManager.updateLease(readKey, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
            LeaseEntry readEntry = leaseManager.getLease(readKey);
    
            assertTrue(readEntry.hasReadCache());
            assertFalse(readEntry.hasWriteCache());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top