//flex table opened by JP

Click to See Complete Forum and Search --> : Encryption Methods


Tony2005
01-18-2004, 07:52 AM
what i've been messing with encryption wise just just putting the ascii code through a simple forumla (just untill i get the program running correctly) but i would like to know what other methods are available? im currently using VB 6.0

fishybawb
01-18-2004, 01:03 PM
Probably the simplest method would be to XOR (Exclusive OR) each byte in the file. If you've never heard of XOR, basically if you take a number and XOR once you'll get a second number, XOR the second number with the same number you used at first and you get the number you started with:

109 XOR 23 = 122
122 XOR 23 = 109

This is handy because you can use the same routine for encryption and decryption.

Tony2005
01-18-2004, 07:32 PM
i'll give it a go - i'll just use it with the ascci for now