- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 515 for derive (0.07 seconds)
-
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) -
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 sequenceCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
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) -
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) -
src/main/java/jcifs/util/SecureCredentialStorage.java
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) -
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) -
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) -
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) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
message.startsWith("Found resumable session") -> Type.Handshake message.startsWith("Resuming session") -> Type.Handshake message.startsWith("Using PSK to derive early secret") -> Type.Handshake else -> Type.Unknown } override fun toString(): String = if (param != null) { message + "\n" + param } else { message }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 2.8K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you * can't get by with the standard implementations, prefer to derive a new {@code Future} instance * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}. * * <p>Occasionally, an API will return a plain {@code Future} and it will be impossible to change
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0)