Simple encryption solution clarification

4 visualizzazioni (ultimi 30 giorni)
sathvick hk
sathvick hk il 21 Lug 2020
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

Risposte (0)

Categorie

Scopri di più su Encryption / Cryptography in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by