Caesar's cypher Encryption

1 view (last 30 days)
Muhammad Ashraf
Muhammad Ashraf on 10 Nov 2019
Commented: Muhammad Ashraf on 10 Nov 2019
What is wrong with my code??

Answers (1)

David Hill
David Hill on 10 Nov 2019
function coded=caeser(v,a)
coded=char(mod(v-32+a,95)+32);
end
  1 Comment
Muhammad Ashraf
Muhammad Ashraf on 10 Nov 2019
I get that, Thank U.
But I wanna know why my code is not working!!

Sign in to comment.

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!