Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Somani (0.13 sec)

  1. internal/crypto/key.go

    }
    
    // Seal encrypts the ObjectKey using the 256 bit external key and IV. The sealed
    // key is also cryptographically bound to the object's path (bucket/object) and the
    // domain (SSE-C or SSE-S3).
    func (key ObjectKey) Seal(extKey []byte, iv [32]byte, domain, bucket, object string) SealedKey {
    	if len(extKey) != 32 {
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var (
    		sealingKey   [32]byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top