A simple Ruby implementation with lots of comments. This document explains how to implement DES, from the perspective of learning how the algorithm works. Simplicity and learnability are favoured over optimisation unlike most open source crypto code, so hopefully this will make it easier for people to understand and de-mystify DES and block-cipher cryptography in general. Code can be found here: http://github.com/chrishulbert/crypto How to Implement DES in Ruby

Thanks for reading! And if you want to get in touch, I'd love to hear from you: chris.hulbert at gmail.

Chris Hulbert

(Comp Sci, Hons - UTS)

iOS Developer (Freelancer / Contractor) in Australia.

I have worked at places such as Google, Cochlear, Assembly Payments, News Corp, Fox Sports, NineMSN, FetchTV, Coles, Woolworths, Trust Bank, and Westpac, among others. If you're looking for help developing an iOS app, drop me a line!

Get in touch:
[email protected]

 Subscribe via RSS