Gareth Lennox

Tag Archives: encryption

XTS-AES implementation: SectorStream

As a by-product of the XtsSharp project, I implemented a SectorStream, which is a stream that reads and writes whole sectors (the size of which is configurable) to enable the XTS algorithm to operate on standard .NET streams. I also implemented another stream based class that provides random access to an underlying SectorStream. This simulates random access […]

XTS-AES implementation in .NET

I’ve been meaning to write about this for some time, but laziness, procrastination and work have managed to get in the way. DISCLAIMER: I am not a cryptographer, cryptography is something that interests me and the library is a proof of concept; you use it at your own risk. I recently (i.e. a year ago!) […]