rot13
This is just a simple ROT13 encoder / decoder (i.e. alphabetical shift cypher with a shift value of 13 so that the encoder and decoder is exactly the same).
It is probably close to being optimally coded in Matlab, but if it actually isn't, it's still useful for reading some comments in Slashdot :)
As for features, it preserves type case and non-alphabetical characters, and the alphabetical shift can be specified.
See cryptoshift, cryptosub and cryptodesub by Bill Higley if you want a more general shift cypher / substitution function.
Cite As
Francois Bouffard (2024). rot13 (https://www.mathworks.com/matlabcentral/fileexchange/4642-rot13), 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 | New highly optimized encryption engine ;)
|