This code will encrypt / decrypt a text using affine cipher algorithm.The affine cipher is a type of mono alphabetic substitution cipher. The script is implemented using MATLAB Guide.
Encryption Specs - Key Size
a and b are the keys each key size is 5 bits
a and b keys can not exceed more than 5 bits integer the program will error out
Tamir Suliman (2023). Affine Cipher Encryption / Decryption using MATLAB Guide (https://www.mathworks.com/matlabcentral/fileexchange/60539-affine-cipher-encryption-decryption-using-matlab-guide), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!