+Larry Posted February 16, 2020 Share Posted February 16, 2020 I typed "encryption" in the search window here at AA, and got 2500+ hits, so I won't be looking through those. So, does anyone know of any simple encryption programs for the Atari 8-bit? I wrote one in BASIC back in the 80's that would take a key phrase and encrypt a file based on that key. Something that would take the NSA about .02 seconds to crack with their hardware. But I can't find that program anymore. Anyone have or know of one? -Larry Quote Link to comment Share on other sites More sharing options...
TGB1718 Posted February 16, 2020 Share Posted February 16, 2020 might have been something like DES Encryption, the algorithms are not very big and would be easy to program in BASIC, might be worth a Google for it Quote Link to comment Share on other sites More sharing options...
Rybags Posted February 16, 2020 Share Posted February 16, 2020 You could do something that takes the password and creates a 16 byte key from it. Then do some simple operations like XOR and carryless rotates on the data. 1 Quote Link to comment Share on other sites More sharing options...
ilmenit Posted February 17, 2020 Share Posted February 17, 2020 https://www.techiedelight.com/des-implementation-c/ this should compile by CC65 without issues 1 Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted February 17, 2020 Share Posted February 17, 2020 Similar with XTEA Quote Link to comment Share on other sites More sharing options...
+Larry Posted February 17, 2020 Author Share Posted February 17, 2020 Here was one written for Analog's ST-LOG: https://www.atarimagazines.com/st-log/issue33/66_1_UTILITY_SAFE_KEEPING.php I don't see a listing, but I think I should be able to find it somewhere. It's written in Pascal, so that is a "Plus" in that it is generally much easier for me to figure out than C. I'm going to look at the other platforms. I seem to remember a couple of others that I ran across over the years. 1 Quote Link to comment Share on other sites More sharing options...
+Larry Posted February 18, 2020 Author Share Posted February 18, 2020 Found the listing in the PDF of ST-LOG #32 at Atarimania. Looks pretty simple to model a BASIC XE (or Turbo BASIC XL) program after it using the XOR function in either of those languages. Thanks for the suggestions and especially Rybags with the XOR suggestion (since it is easy to incorporate into a BASIC program). Interestingly, the example of using XOR in the Basic XE manual is wrong! Says 5 % 39 = 32 and is actually 34. Quote Link to comment Share on other sites More sharing options...
devwebcl Posted February 19, 2020 Share Posted February 19, 2020 I found a c64 cc65 demo last year: http://manillismo.blogspot.com/2019/09/aes-128.html but I cannot find the source code now... anyway, it is cc65 and can be ported to basic 1 Quote Link to comment Share on other sites More sharing options...
devwebcl Posted February 23, 2020 Share Posted February 23, 2020 https://github.com/rfuentess/contiki/blob/master/core/lib/aes-128.c Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.