Simple Substitution Cipher for all ASCII Printable Characters
% Simple Substitution Encryption for ASCII Printable Characters % % % % % %
%
% Description:
% The first code section creates a cipher text alphabet by selecting
% a random permutation of the ASCII printable characters. The second code
% section encodes or decodes a phrase with ASCII printable characters
% only.
%
% Simple Substitution Cipher Explained:
% https://en.wikipedia.org/wiki/Substitution_cipher
%
% Created by FerA
% Version 1.0
% Date: 01 Jun 2016
%
% Instructions:
% - Run the first section to create a random cipher text
% - Within second section, set purpose and phrase
% - set variable "purpose" to "encode" or "decode"
% - set variabele "phrase" to a message of your choice
% - Run second section at will with various messages
%
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
Cite As
FA (2024). Simple Substitution Cipher for all ASCII Printable Characters (https://www.mathworks.com/matlabcentral/fileexchange/57469-simple-substitution-cipher-for-all-ascii-printable-characters), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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 |