File Exchange

image thumbnail

Encrypt email address

version 1.2 (1.21 KB) by

Create the vector which can be decipher with the command char(cumsum(vector)).

1 Download


View License

Could be useful for the Matlab fundamentalists who want to write their email address as a vector which can be read by the function char(cumsum(vector)).
It is a very simple script.

It is not an original idea but I have first seen that trick in the blog "File Exchange Pick of the Week" to encrypt email address

Comments and Ratings (4)

Jerome Degallaix

Hi Brett,

Sorry to have duplicated your work. I will mention your previous submission.
And if you are at the origin of this method: well done!

Brett Shoelson

Brett Shoelson (view profile)

Hi Jerome,

Thanks for the nod. I've been encrypting my email with char(cumsum) for a long time now, and in fact posted my own code for encryption

back in November, 2005.


Jerome Degallaix

I changed the title of the function (to a shorter one)

Sean de

Sean de (view profile)

Good idea and nice implementation.

However, the title is way too long!!!



Change the name of the function to a shorter one.

MATLAB Release
MATLAB 7.11 (R2010b)
Tags Add Tags

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

» Watch video

Win prizes and improve your MATLAB skills

Play today