Cipher and Decipher the message - same key for all digits - MATLAB Cody - MATLAB Central

Problem 49347. Cipher and Decipher the message - same key for all digits

Difficulty:Rate
You will be given a input number
you have to figure out the key according to the second input
ref=ascii(32:126); decipher_key=[ascii(33:126) ascii(32) ]
(eg) x='gdkkn' if y==1
output y='hello'
if x='hello' if y==2
output='gdkkn';
"If" and "while" are forbidden

Solution Stats

38.46% Correct | 61.54% Incorrect
Last Solution submitted on Oct 15, 2023

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
2

Problem Recent Solvers5

Suggested Problems

More from this Author33

Problem Tags

Community Treasure Hunt

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

Start Hunting!