[plt-scheme] Code review: garden fence encryption

Marek Kubica marek at xivilization.net
Sun Mar 15 09:42:40 EDT 2009


Hi,

I don't know whether this is the correct list, but of all Scheme
communities this one seemed to be the best fit for this mail.

Anyway, I had the idea of implementing a simple encryption algorithm
that even children can use, as a kind of exercise in writing functional
code in Scheme.

Attached is a version of that script as it is quite long. I tried to
write enough documentation so that both the garden fence algorithm as
well as my implementation are understandable.

It would be good if some more experienced Schemers could take a look at
the code and give me some tips on how I could improve it. I usually
learn quite a lot from such reviews and value the input of other people.

In case the attachment is a problem, the current version can also be
found in my sandbox repository:
<http://xivilization.net/hg/sandbox/file/tip/gardenfence.scm>

regards,
Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gardenfence.scm
Type: text/x-scheme
Size: 6650 bytes
Desc: not available
Url : http://list.cs.brown.edu/pipermail/plt-scheme/attachments/20090315/76c9f426/gardenfence.bin


More information about the plt-scheme mailing list