File Exchange

image thumbnail

Data Encryption Standard (DES)

version 1.0 (4.84 KB) by

The last generation of encryption standard, good for cryptography study and cipher design.

4.33333
4 Ratings

71 Downloads

Updated

View License

This simple script implements the DES cipher, which encrypts or decrypts a 64-bit message using a 64-bit key.

Comments and Ratings (9)

Kevin Okai

error; functions definitions are not permitted in this context

Putra Putra

thanks

when i run it, i have error message running on matlab R2009a

Error using ==> DES at 64
Not enough input arguments.

Rashmi Gandhi

just now i executed program successfully
provided suggestions to add text as input and get text as output
example plaintext=hello
ciphertext=asdfr
again plaintext=hello
thanks

Nicholas Felix

Nicholas Felix

I could'nt get it to work, but thanks for the example! I am new to Matlab so this was a helpful.

ahsan elahi

@Anu Sharma..
did u corrected the code..?

i also have an error message while running the code on matlab 2011.
 Error using ==> DES at 64
Not enough input arguments.

Anu Sharma

I tried to run this code.,But I am getting error in matlab that
Error using ==> bin2dec
Too many input arguments.

Kindly help.
Thank you

MATLAB Release
MATLAB 7.10 (R2010a)
Acknowledgements

Inspired: Tridiagonal

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video