Basic String Cryptography
by Bill Higley
09 Jul 2002
(Updated 09 Jul 2002)
A couple of simple cryptography techniques.
|
Watch this File
|
| File Information |
| Description |
These are three *very* simple codes for implementing the most rudimentary encryption method possible.
CRYPTOSHIFT.m implements a monoalphabetic shifting substitution encryption. It takes two arguements: the string to be encoded and the amount to shift each letter. To decode, shift backward the same amount you shifted forward.
CRYPTOSUBCODE.m generates, from an input string, a coded string and a key. The key represents the random substitutions made, and is used by CRYPTOSUBDECODE.m along with the encoded string to decode a string. |
| MATLAB release |
MATLAB 6.1 (R12.1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (8) |
| 06 Jun 2003 |
l r
|
|
|
| 12 Dec 2003 |
kha swqdw
|
|
|
| 12 Dec 2003 |
kha df
|
|
|
| 02 Sep 2004 |
H R
|
|
|
| 17 Jul 2005 |
alper aydýn
|
|
|
| 12 Sep 2005 |
reza Azadi
|
|
|
| 22 Jul 2006 |
sathish sathi
|
|
|
| 12 Sep 2011 |
Mr Smart
|
|
|
|
Contact us at files@mathworks.com