Re: Data Encryption
- Posted by "Graeme." <hmi at POWERUP.COM.AU> May 16, 1998
- 731 views
I did an encrypter a while back. It does the following. 1) Expands the code into a 256 "ramdom" character string 2) Loads and encrypts data from files in blocks 3) The exact length of the blocks is determined by a checksum derived from the code string 4) Starts encrypting at a derived point in each block XORing each byte with a character from the code string and a number from rand() and the value of the next byte *before* it is in turn encrypted (except for the 'last' byte, which could be any byte in the block) It continues encrypting forward until the end of the block then starts from the beginning of the block and works up to the 'first' byte Reasonable security at 15MB per minute, re-writing the output to a seperate file (P-120) Graeme ---------------------------------------- Got to do one of those signiture thingys ----------------------------------------