DES as XL

Feb 21, 2006 15:04

Want to learn how DES, and thus just about any other blockcipher, works? This is a damncool way to learn. It's DES implemented as an XL spreadsheet.

geek, crypto

Leave a comment

Comments 1

pauldf February 22 2006, 12:46:10 UTC
yup, it's definitely doable.

I and a friend implemented DES for an undergrad class; I think it was in 1992, during my year as an exchange student in Norway. Our implementation wasn't getting the answer that some spec said we should, so I implemented it a second time in some spreadsheet program, probably Excel, partly so I could experiment with byte ordering (the description we were working from wasn't clear to me, at least at the time). Then we compared numbers in both implementations to find mismatches and fix them until we got the right answer both places.

Given CPU speeds at the time, it wasn't fast, but it worked.

Reply


Leave a comment

Up