Simple encryption solution clarification

8 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Encryption / Cryptography 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by