Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DecryptReader (0.06 sec)

  1. cmd/encryption-v1.go

    	return newDecryptReaderWithObjectKey(client, objectEncryptionKey, seqNumber)
    }
    
    func newDecryptReaderWithObjectKey(client io.Reader, objectEncryptionKey []byte, seqNumber uint32) (io.Reader, error) {
    	reader, err := sio.DecryptReader(client, sio.Config{
    		Key:            objectEncryptionKey,
    		SequenceNumber: seqNumber,
    		CipherSuites:   fips.DARECiphers(),
    	})
    	if err != nil {
    		return nil, crypto.ErrInvalidCustomerKey
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
Back to top