Simple encryption solution clarification
Show older comments
function coded = caesar(enter,inc)
storev=double(enter);
answ=storev(1:length(storev))+inc;
coded=char(answ);
fprintf('%S',coded)
I dont think the code is correct but can you please point our the mistakes in it
Thanks in advance
Answers (0)
Categories
Find more on Encryption / Cryptography in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!