DeflaterOutputStream.EncryptBlock Method

SharpZip Compression Library

SharpZip Compression Library

DeflaterOutputStream.EncryptBlock Method 

Encrypt a block of data

protected void EncryptBlock(
   byte[] buffer,
   int offset,
   int length
);

Parameters

buffer
Data to encrypt. NOTE the original contents of the buffer are lost
offset
Offset of first byte in buffer to encrypt
length
Number of bytes in buffer to encrypt

See Also

DeflaterOutputStream Class | ICSharpCode.SharpZipLib.Zip.Compression.Streams Namespace