Basic String Cryptography

A couple of simple cryptography techniques.

You are now following this Submission

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 (2026). Basic String Cryptography (https://se.mathworks.com/matlabcentral/fileexchange/1931-basic-string-cryptography), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0