Data Encryption Standard algorithm. 64 bit key and block. ECB mode only. Encrypt/ Decrypt any character string.
An outdated cipher, but good for cryptology study.
Inspired by:
Data Encryption Standard (DES)
by Yue Wu
18 Aug 2012 (Updated 21 Sep 2012)
http://www.mathworks.com/matlabcentral/fileexchange/37847-data-encryption-standard--des-/content/DES.m
Cite As
Nicholas Felix (2024). DES(str,KEY,Mode) (https://www.mathworks.com/matlabcentral/fileexchange/53768-des-str-key-mode), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Programming in Help Center and MATLAB Answers
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.