Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: anyone done any encryption work with rebol

From: reboler:programmer at: 21-Nov-2002 14:02

Re: anyone done any encryption work with rebol *** NO ENCRYPTION CODE INCLUDED !!! *** Yes, I have encrypting file-viewers/emailers for /Core, and /View. (The /Core script may still be available in the discussion list archives.) The main algorithm is ARCFOUR. (from a USENET algorithm, which claims to be equivalent to RC4 of RSA, Inc) I also use CipherSaber and CipherSaber2, which are based on ARCFOUR (do a web search for CipherSaber for more info). The en/decryption process is rather slow in REBOL, as you would expect, but not unreasonably so. En/decrypting an average email of less than 1K is practically instantaneous. 50K takes about 5 seconds, 500K about 20-25 seconds (all on Win98 with 333MgHz processor). I also have a low security algorithm based on compression, reversal, bit-wise frame-shift, and xor, which is much, much faster. While not secure in the cryptographic sense, I'll wager your average spouse, boss, ISP sysadmin could not decrypt it. FYI: With the above /View script you can - view text and image files - encrypt files - email files (send & receive) - view encrypted files without decrypting them (they are decrypted in memory, not on disk) Bottom Line: you don't need to pay for /Pro to get encryption. (but I still recommend buying /Pro!) And with roll-your-own encryption you get to see all the source code! BTW: I have been scolded before for discussing the mechanics of encryption on an open channel. I will not submit any strong encryption code to this thread, through this group.