Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DerivePartKey (0.07 sec)

  1. cmd/object-multipart-handlers.go

    		}
    		copy(objectEncryptionKey[:], key)
    
    		var nonce [12]byte
    		tmp := sha256.Sum256([]byte(fmt.Sprint(uploadID, partID)))
    		copy(nonce[:], tmp[:12])
    
    		partEncryptionKey := objectEncryptionKey.DerivePartKey(uint32(partID))
    		encReader, err := sio.EncryptReader(reader, sio.Config{
    			Key:          partEncryptionKey[:],
    			CipherSuites: fips.DARECiphers(),
    			Nonce:        &nonce,
    		})
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top