Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for sha256 (0.23 sec)

  1. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. cmd/signature-v4.go

    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // AWS Signature Version '4' constants.
    const (
    	signV4Algorithm = "AWS4-HMAC-SHA256"
    	iso8601Format   = "20060102T150405Z"
    	yyyymmdd        = "20060102"
    )
    
    type serviceType string
    
    const (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. cmd/utils_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1.go

    			return false
    		}
    	}
    	return true
    }
    
    // BitrotAlgorithm specifies a algorithm used for bitrot protection.
    type BitrotAlgorithm uint
    
    const (
    	// SHA256 represents the SHA-256 hash function
    	SHA256 BitrotAlgorithm = 1 + iota
    	// HighwayHash256 represents the HighwayHash-256 hash function
    	HighwayHash256
    	// HighwayHash256S represents the Streaming HighwayHash-256 hash function
    	HighwayHash256S
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. internal/config/lambda/event/event.go

    //	    "accessPointArn": "...",
    //	    "supportingAccessPointArn": "...",
    //	    "payload": ""
    //	  },
    //	  "userRequest": {
    //	    "url": "...",
    //	    "headers": {
    //	      "Host": "...",
    //	      "X-Amz-Content-SHA256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    //	    }
    //	  },
    //	  "userIdentity": {
    //	    "type": "IAMUser",
    //	    "principalId": "AIDAJF5MO57RFXQCE5ZNC",
    //	    "arn": "...",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. internal/hash/sha256/sh256_nofips.go

    //go:build !fips
    // +build !fips
    
    package sha256
    
    import (
    	"hash"
    
    	nofipssha256 "github.com/minio/sha256-simd"
    )
    
    // New returns a new hash.Hash computing the SHA256 checksum.
    // The SHA256 implementation is not FIPS 140-2 compliant.
    func New() hash.Hash { return nofipssha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Aug 29 23:57:16 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  7. internal/hash/reader.go

    		return r.checksum
    	}
    	return r.ETag()[:]
    }
    
    // SHA256 returns the SHA256 checksum set as reference value.
    //
    // It corresponds to the checksum that is expected and
    // not the actual SHA256 checksum of the content.
    func (r *Reader) SHA256() []byte {
    	return r.contentSHA256
    }
    
    // SHA256HexString returns a hex representation of the SHA256.
    func (r *Reader) SHA256HexString() string {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  8. cmd/signature-v4_test.go

    				"X-Amz-SignedHeaders":  "host;x-amz-content-sha256;x-amz-date",
    				"X-Amz-Credential":     fmt.Sprintf(credentialTemplate, accessKeyID, now.Format(yyyymmdd), region),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			headers: map[string]string{
    				"X-Amz-Date":           now.AddDate(0, 0, -2).Format(iso8601Format),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   region,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  9. internal/crypto/doc.go

    //
    //  1. Encrypt:
    //     Input: ClientKey, bucket, object, metadata, object_data
    //     -              IV := Random({0,1}²⁵⁶)
    //     -       ObjectKey := SHA256(ClientKey || Random({0,1}²⁵⁶))
    //     -       KeyEncKey := HMAC-SHA256(ClientKey, IV || 'SSE-C' || 'DAREv2-HMAC-SHA256' || bucket || '/' || object)
    //     -       SealedKey := DAREv2_Enc(KeyEncKey, ObjectKey)
    //     - enc_object_data := DAREv2_Enc(ObjectKey, object_data)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 26 19:52:29 GMT 2022
    - 5K bytes
    - Viewed (0)
  10. cmd/signature-v4-utils_test.go

    		// Test case with "X-Amz-Content-Sha256" header set, but to empty value but we can't skip.
    		{"X-Amz-Content-Sha256", "", "", "", false},
    
    		// Test case - 2.
    		// Test case with "X-Amz-Content-Sha256" not set so we can skip.
    		{"", "", "", "", true},
    
    		// Test case - 3.
    		// Test case with "X-Amz-Content-Sha256" header set to  "UNSIGNED-PAYLOAD"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
Back to top