Basic String Cryptography
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 (https://www.mathworks.com/matlabcentral/fileexchange/1931-basic-string-cryptography), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Characters and Strings >
- MATLAB > Data Import and Analysis > Encryption / Cryptography >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |