|
||||||
| PHP Tutorials PHP Tutorials |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
This is a very simple Encryption Algorithm that uses the Caesar Shift Decoder (also called the Caesar Cipher).
The encryption is not limited to 25 characters though but is limited to the ASCII table moving each character a random amount of numbers forward. Here is how it works: 1) Generate a Random Number PHP Code:
2) Add this character to our final string output PHP Code:
3) Encode the rest of the string. Lets say you received a [b]g[/g] which is 103 ascii value. For each character you would get the ascii value and move it up 103 values in the ascii table. PHP Code:
PHP Code:
PHP Code:
__________________
Void |
| Sponsored Links |
|
|
|
|||||
|
I found my "Caesars Cipher" I made a while ago.
PHP Code:
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Beginners Guide To PHP: *Tutorial* | renlok | PHP Tutorials | 3 | 04-22-2008 03:20 PM |
| Where to Put PHP Code | clookid | PHP Tutorials | 1 | 01-11-2007 08:44 PM |