Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 165 for sha256 (0.24 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            assertThat(sslSocket.enabledCipherSuites)
              .containsExactly(
                CipherSuite.TLS_AES_128_GCM_SHA256.javaName,
                CipherSuite.TLS_AES_256_GCM_SHA384.javaName,
                CipherSuite.TLS_CHACHA20_POLY1305_SHA256.javaName,
                CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName,
                CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
              )
          } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/bitrot.go

    var bitrotAlgorithms = map[BitrotAlgorithm]string{
    	SHA256:          "sha256",
    	BLAKE2b512:      "blake2b",
    	HighwayHash256:  "highwayhash256",
    	HighwayHash256S: "highwayhash256S",
    }
    
    // New returns a new hash.Hash calculating the given bitrot algorithm.
    func (a BitrotAlgorithm) New() hash.Hash {
    	switch a {
    	case SHA256:
    		return sha256.New()
    	case BLAKE2b512:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  3. internal/hash/reader_test.go

    			},
    		},
    		5: {
    			desc:       "Correct sha256, nested",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4),
    			size:       4,
    			actualSize: 4,
    			sha256hex:  "88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589",
    		},
    		{
    			desc:       "Correct sha256, nested, truncated",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock_test.go

    	}{
    		{
    			metadata: map[string]string{
    				"Authorization":        "AWS4-HMAC-SHA256 <cred_string>",
    				"X-Amz-Content-Sha256": "",
    				"Content-Encoding":     "",
    			},
    			expected: map[string]string{
    				"Authorization":        "AWS4-HMAC-SHA256 <cred_string>",
    				"X-Amz-Content-Sha256": "",
    				"Content-Encoding":     "",
    			},
    		},
    		{
    			metadata: map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. internal/crypto/sse_test.go

    			"X-Minio-Internal-Server-Side-Encryption-Sealed-Key":     "IAAfAMBdYor5tf/UlVaQvwYlw5yKbPBeQqfygqsfHqhu1wHD9KDAP4bw38AhL12prFTS23JbbR9Re5Qv26ZnlQ==",
    			"X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "DAREv2-HMAC-SHA256",
    			"X-Minio-Internal-Server-Side-Encryption-Iv":             "coVfGS3I/CTrqexX5vUN+PQPoP9aUFiPYYrSzqTWfBA=",
    		},
    		ExpectedErr: nil,
    	},
    	{ // 1 - Valid HTTP headers but invalid metadata entries for bucket/object2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  6. internal/event/target/kafka_scram_client_contrib.go

    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    func initScramClient(args KafkaArgs, config *sarama.Config) {
    	switch strings.ToLower(args.SASL.Mechanism) {
    	case "sha512":
    		config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA512} }
    		config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA512)
    	case "sha256":
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4.go

    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // Streaming AWS Signature Version '4' constants.
    const (
    	emptySHA256                   = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    	streamingContentSHA256        = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD"
    	streamingContentSHA256Trailer = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD-TRAILER"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/TestTls13Request.kt

    import org.conscrypt.Conscrypt
    
    // TLS 1.3
    private val TLS13_CIPHER_SUITES =
      listOf(
        CipherSuite.TLS_AES_128_GCM_SHA256,
        CipherSuite.TLS_AES_256_GCM_SHA384,
        CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
        CipherSuite.TLS_AES_128_CCM_SHA256,
        CipherSuite.TLS_AES_128_CCM_8_SHA256,
      )
    
    /**
     * A TLS 1.3 only Connection Spec. This will be eventually be exposed
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void testSha256() {
        HashTestUtils.checkAvalanche(Hashing.sha256(), 100, 0.4);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.sha256());
        HashTestUtils.checkNoFunnels(Hashing.sha256());
        HashTestUtils.assertInvariants(Hashing.sha256());
        assertEquals("Hashing.sha256()", Hashing.sha256().toString());
      }
    
      public void testSha384() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/ObjectIdentifiers.kt

    /** ASN.1 object identifiers used internally by this implementation. */
    internal object ObjectIdentifiers {
      const val EC_PUBLIC_KEY = "1.2.840.10045.2.1"
      const val SHA256_WITH_ECDSA = "1.2.840.10045.4.3.2"
      const val RSA_ENCRYPTION = "1.2.840.113549.1.1.1"
      const val SHA256_WITH_RSA_ENCRYPTION = "1.2.840.113549.1.1.11"
      const val SUBJECT_ALTERNATIVE_NAME = "2.5.29.17"
      const val BASIC_CONSTRAINTS = "2.5.29.19"
      const val COMMON_NAME = "2.5.4.3"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top