1. Re: Data Encryption
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Jun 18, 1998
- 556 views
- Last edited Jun 19, 1998
Robert B Pilkington wrote (a month ago): I have made one (an algorithm) that uses password encryption. I figure that if you use several passwords, and decrypt with the WRONG password at least once, the file would be impossible to crack, especially= if I make a couple of changes to the basic algorithm. It's fast too. This is how mine works: It gets and confirms the password It performs calculations on the password (adding the ASCII values up and such and a little bit more) to get a number. Seeds the randomizer to the number (set_rand(number)) Takes each character in the file, and adds a random number between 1 and 255 to it and puts it into the output file. (or subtracts in decryption) I think I can learn some low-level concepts from this algorithm. Are you using ASCII values or bits? There are eight bits in a byte. So = if you add 1 to 255 to eight bits, you got a 9-bit number. How can you writ= e byte-for-byte? Similar thing for ASCII values. --Alan =