- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for partIDbin (0.03 sec)
-
cmd/encryption-v1.go
} func (d *DecryptBlocksReader) buildDecrypter(partID int) error { var partIDbin [4]byte binary.LittleEndian.PutUint32(partIDbin[:], uint32(partID)) // marshal part ID mac := hmac.New(sha256.New, d.objectEncryptionKey) // derive part encryption key from part ID and object key mac.Write(partIDbin[:]) partEncryptionKey := mac.Sum(nil) // Limit the reader, so the decryptor doesn't receive bytes
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 38K bytes - Viewed (0)