Solitaire Encryption System in R

I loved reading about Bruce Schneier's Solitaire Cryptosystem when I read Neal Stephenson's Cryptonomicon. I found, of course, many software implementations (though the best part of the system is that it can be done without a computer!), but I couldn't find any in R. I'd been wanting a project to get back coding, and so wrote an implementation myself.

It's rough.