Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/object-multipart-handlers.go

    			in := io.Reader(hashReader)
    			if size > encryptBufferThreshold {
    				// The encryption reads in blocks of 64KB.
    				// We add a buffer on bigger files to reduce the number of syscalls upstream.
    				in = bufio.NewReaderSize(hashReader, encryptBufferSize)
    			}
    
    			var nonce [12]byte
    			tmp := sha256.Sum256(fmt.Append(nil, uploadID, partID))
    			copy(nonce[:], tmp[:12])
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top