Speading encryption

BlitzPlus Forums/BlitzPlus Programming/Speading encryption

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I haven't looked at your 'encryption' code, but I noticed a few misconceptions on your part.

First off, professional encryption programs would probably use 'threads' not 'processes'. Processes is a term that more closely approximates a program that is running on your computer. 'Threads' are sub-programs within your program.

Secondly, I really can't see how multi-threading would help to en/decrypt faster. Multi-threading is used more efficiently in other scenarios, and is often used to 'share' the CPU, which is often just being nice to the user.

But if you want to just 'crunch' numbers as fast as possible, I would stick to a single process running through the entire task without any interruptions.


For some better encryption techniques than just your XOR method, check out this page:
http://www.cs.usask.ca/resources/tutorials/csconcepts/1999_3/lessons/L3/SimpleEncryption.html
Keep clicking on Next to read it all.