Gareth Lennox

Yearly Archives: 2012

Delivering all mail to a local account

I recently asked a question on Ask Ubuntu, regarding setting up my Ubuntu (12.04) virtual machine with a mail server, but to not actually send any mail. What’s the point of this? Well, because I’m developing web applications that send mail, I want to test with all sorts of different e-mail addresses, other than my own, without […]

Using Google Web Fonts

Google Web Fonts is a great resource for custom web fonts. It is free and has a huge library of fonts (508 different fonts at time of writing). A lot of people are saying that while the library is large, the quality of most of the fonts is not that great. While this is true, […]

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!) […]