3.125

3.1 | 8 ratings Rate this file 15 Downloads (last 30 days) File Size: 1.3 KB File ID: #1931

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

thank you

02 Sep 2004 H R

simple

17 Jul 2005 alper aydýn  
12 Sep 2005 reza Azadi  
22 Jul 2006 sathish sathi  
12 Sep 2011 Mr Smart  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
encode Bill Higley 22 Oct 2008 06:46:17
string Bill Higley 22 Oct 2008 06:46:17
cryptography Bill Higley 22 Oct 2008 06:46:17
mathematics Bill Higley 22 Oct 2008 06:46:17
general Bill Higley 22 Oct 2008 06:46:17

Contact us at files@mathworks.com