A Reversible Encryption Routine for PHP
By Tony Marston2005-04-15
Manipulating the index number between the two strings
A common method is to use a separate character string as a 'key'. This key is reduced to an array of numbers, and it is this array of numbers that is used to adjust the index number between STRING1 and STRING2. The method I use is to take the first number from the array, add it to the index number, then move this number from the beginning to the end of the array in a rotation movement.
The beauty of this method is that even if you know the exact encryption algorithm being used it is totally useless without the key.
|
|||||||||
You might also want to check these out:
|
Leave a Comment on "A Reversible Encryption Routine for PHP"
You must be logged in to post a comment.
Link to This Tutorial Page!

