Basic String Cryptography

A couple of simple cryptography techniques.
Updated Tue, 09 Jul 2002 14:57:00 +0000

No License

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.

Cite As

Bill Higley (2024). Basic String Cryptography (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes