Implements XTS-AES, a standard algorithm for protection of stored data defined by IEEE P1619.
public class XtsStream : Stream, IAsyncDisposable, IDisposable
Default block size (64 KB).
Gets a size of one XTS block in bytes
Gets a value indicating whether the stream supports reading.
Gets a value indicating whether the stream supports seeking.
Gets a value indicating whether the stream supports writing.
Gets the length in bytes of the stream.
Gets or sets the position within the stream.
Releases resources used by this stream.
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
|Read(Byte, Int32, Int32)||
Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read.
Sets the position within the stream.
Sets the length of the stream.
|Write(Byte, Int32, Int32)||
Writes a sequence of bytes to the stream and advances the current position within this stream by the number of bytes written.