Cipher and Decipher the message - 3 key - MATLAB Cody - MATLAB Central

Problem 48920. Cipher and Decipher the message - 3 key

Difficulty:Rate
You will be given a input number (eg) x='geikm' y==1
you have to figure out the dechiper key and match it with given input and decipher it
ref=ascii(32:126); decipher_key1=[ascii(33:126) ascii(32) ]; decipher_key2=[ascii(34:126) ascii(32:33) ];
decipher_key3=[ascii(35:126) ascii(32:34) ]
output ='hello'
if y==2
input='hello'
output='geikm'
"If" and "while" are forbidden

Solution Stats

44.0% Correct | 56.0% Incorrect
Last Solution submitted on Nov 21, 2024

Problem Comments

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Problem Recent Solvers9

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!
Go to top of page