- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for Crypto (0.42 sec)
-
src/main/java/jcifs/util/Crypto.java
import java.security.InvalidKeyException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.Provider; import javax.crypto.Cipher; import javax.crypto.NoSuchPaddingException; import javax.crypto.spec.SecretKeySpec; import org.bouncycastle.jce.provider.BouncyCastleProvider; import jcifs.CIFSUnsupportedCryptoException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
void setUp() throws NoSuchAlgorithmException { // Mock Crypto.getMD5() to return our mockMd5 instance // This requires Mockito 3.4.0+ for MockedStatic // For simplicity, we'll assume Crypto.getMD5() is static and mock it. // If it's not static, we'd need to inject it or mock the class that provides it. try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
cmd/encryption-v1_test.go
crypto.MetaKeyID: "kms-key", crypto.MetaDataEncryptionKey: "m-key", }, encryptionType: encrypt.S3, err: nil, }, // 4 { headers: http.Header{}, copySource: true, metadata: map[string]string{ crypto.MetaSealedKeyS3: base64.StdEncoding.EncodeToString(make([]byte, 64)), crypto.MetaKeyID: "kms-key", crypto.MetaDataEncryptionKey: "m-key",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 19.9K bytes - Viewed (0) -
cmd/encryption-v1.go
case crypto.SSEC: objectKey := crypto.GenerateKey(key, rand.Reader) sealedKey = objectKey.Seal(key, crypto.GenerateIV(rand.Reader), crypto.SSEC.String(), bucket, object) crypto.SSEC.CreateMetadata(metadata, sealedKey) return objectKey, nil default: return crypto.ObjectKey{}, fmt.Errorf("encryption type '%v' not supported", kind) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
import java.util.concurrent.locks.ReentrantLock; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.internal.CommonServerMessageBlock; import jcifs.internal.SMBSigningDigest; import jcifs.internal.util.SMBUtil; import jcifs.util.Crypto; /** * SMB2/SMB3 message signing digest implementation. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
this.sealClientKey = deriveKey(mk, C2S_SEAL_CONSTANT); this.sealClientHandle = Crypto.getArcfour(this.sealClientKey); if (log.isDebugEnabled()) { log.debug("Seal key is " + Hexdump.toHexString(this.sealClientKey)); } this.sealServerKey = deriveKey(mk, S2C_SEAL_CONSTANT); this.sealServerHandle = Crypto.getArcfour(this.sealServerKey); if (log.isDebugEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
cmd/sftp-server.go
package cmd import ( "context" "crypto/subtle" "errors" "fmt" "net" "os" "strconv" "strings" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/logger" xldap "github.com/minio/pkg/v3/ldap" xsftp "github.com/minio/pkg/v3/sftp" "github.com/pkg/sftp" "golang.org/x/crypto/ssh" ) const (
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
// Then assertSame(cause, exception.getCause(), "Crypto cause should be preserved"); assertEquals(cause.toString(), exception.getMessage(), "Message should be cause.toString() when only cause is provided"); } @Test @DisplayName("Message and cause constructor should preserve both crypto parameters") void testMessageAndCauseConstructor() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import jcifs.BaseTest; /** * Test class for Crypto utility functionality */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
cmd/utils.go
} if secureCiphers := env.Get(api.EnvAPISecureCiphers, config.EnableOn) == config.EnableOn; secureCiphers { tlsConfig.CipherSuites = crypto.TLSCiphers() } else { tlsConfig.CipherSuites = crypto.TLSCiphersBackwardCompatible() } tlsConfig.CurvePreferences = crypto.TLSCurveIDs() return tlsConfig } /////////// Types and functions for OpenID IAM testing
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0)