Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Security Encryption Guru Question
Message
From
07/08/2003 14:36:25
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
07/08/2003 08:02:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00817630
Message ID:
00817902
Views:
19
>Perhaps this is naive, but could someone explain to me how one can hack/decrypt even a relatively simple encoding algorithm? For example - suppose my algorithm is to add 1,2,3 respectively to each character's ascii code of the string I'm encrypting. Therefore the word "secret" becomes "tgfsgw". Now other than just flat out guessing (and the clue that it's a 6 letter word), how could smeone determine that the original word was "Secret" given ONLY "tgfsqw"?

The hacker may not know that "tgfsqw" = "Secret" (initially); however, he can pump his own "clear text" strings into the algorithm and retrieve the "cipher text" that pops out the other end (into a table, communications line, whatever).

Then, he can take his cipher texts to determine how the algorithm encrypted his clear texts in order to figure out "your" clear text (ie. "Secret").

The more complex the algoritm, the harder the "reversing" process is. I like to use more that 1 variable; eg. the clear text password, and say, the user Id as a seed.
Previous
Reply
Map
View

Click here to load this message in the networking platform