- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Mac (0.11 sec)
-
internal/etag/etag.go
// the ETag unmodified. func Decrypt(key []byte, etag ETag) (ETag, error) { const HMACContext = "SSE-etag" if !etag.IsEncrypted() { return etag, nil } mac := hmac.New(sha256.New, key) mac.Write([]byte(HMACContext)) decryptionKey := mac.Sum(nil) plaintext := make([]byte, 0, 16) etag, err := sio.DecryptBuffer(plaintext, etag, sio.Config{ Key: decryptionKey, CipherSuites: fips.DARECiphers(),
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 21:09:36 GMT 2024 - 13.3K bytes - Viewed (0)