Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 655 for derive (0.04 seconds)

  1. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            final DerivationParameters param = new KDFCounterParameters(sessionKey, null /* prefix */, suffix /* suffix */, r /* r */);
            gen.init(param);
    
            final byte[] derived = new byte[16];
            gen.generateBytes(derived, 0, 16);
            return derived;
        }
    
        /**
         * @param string
         * @return null terminated ASCII bytes
         */
        private static byte[] toCBytes(final String string) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/rpcTest.java

                uuid.clock_seq_low = (byte) 0x22;
                uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
    
                // Mock the derive method to return a buffer for node encoding
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Encoding the UUID
                uuid.encode(mockNdrBuffer);
    
                // Then: Verify the encoding sequence
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertFalse(Arrays.equals(signingKey1, signingKey2), "Different session keys should produce different derived keys");
        }
    
        @Test
        @DisplayName("Should derive unique keys for different preauth values")
        void testDeriveKeys_UniquePreauthValues() {
            // Given
            byte[] preauth1 = new byte[64];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java

                            Artifact artifact = node.getArtifact();
                            Map<String, String> props = new HashMap<>(artifact.getProperties());
                            ArtifactType derived = derive(parentType, currentType);
                            props.putAll(derived.getProperties());
                            node.setArtifact(artifact.setProperties(props));
                        }
                    }
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/SecureCredentialStorage.java

            }
    
            // Generate salt for key derivation
            this.salt = new byte[SALT_SIZE];
            secureRandom.nextBytes(this.salt);
    
            // Derive master key from password
            this.masterKey = deriveKey(masterPassword, salt);
    
            // Clear the master password after use
            Arrays.fill(masterPassword, '\0');
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. internal/crypto/sse.go

    	"github.com/minio/sio"
    )
    
    const (
    	// SealAlgorithm is the encryption/sealing algorithm used to derive & seal
    	// the key-encryption-key and to en/decrypt the object data.
    	SealAlgorithm = "DAREv2-HMAC-SHA256"
    
    	// InsecureSealAlgorithm is the legacy encryption/sealing algorithm used
    	// to derive & seal the key-encryption-key and to en/decrypt the object data.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
       * <p>Because the set may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubsetSuite(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
       * <p>Because the set may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubsetSuite(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

            // TODO: in a moment Maven stop pushing user properties to system properties (and maybe something more)
            // and allow multiple instances per JVM, this may become a pool? derive key based in invokerRequest?
            MavenContext result = residentContext.computeIfAbsent(
                    "resident",
                    k -> new MavenContext(invokerRequest, false, (MavenOptions)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                ArtifactRepositoryPolicy releases) {
            this.id = id;
            this.url = url;
            this.layout = layout;
            this.snapshots = snapshots;
            this.releases = releases;
            //
            // Derive these from the URL
            //
            this.protocol = protocol(url);
            this.basedir = basedir(url);
        }
    
        public MavenArtifactRepository(
                String id,
                Path path,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top