Encryption program! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Encryption program!

you take a text from user an encryption it with this algorithm: Letters is: W="abcdefghijklmnopqrstuvwxyz ABCDEFGHIGKLMNOPQRSTUVWXUZ1234567890" Key is: K="76yxzqpfYXZQPSRsrutwED GFvihkjm3254lonWVIHacbedgUTKJMLO9810NACB" ----------------- it's mean : a=7, b=6, c=y,..... 9=C, 0=B For example : if user enter: "Hello World Guys" program output is:"lzQQRhKRuQxh4Evt" ----------------- Good luck!

7th Nov 2018, 6:19 PM
</Abbas>
</Abbas> - avatar
2 Answers
+ 1
See comments https://www.sololearn.com/learn/10366/?ref=app Don't post challenges here. Only post them in your feed. https://www.sololearn.com/discuss/1316935/?ref=app
7th Nov 2018, 7:12 PM
Roneel
Roneel - avatar
0
Looks like your encrypted string is erroneous. As per https://code.sololearn.com/cFSBMHtBe99X/#py the output would be: 4zQQRiTRuQxioEFt This is too weak for a challenge but quite okay for a homework
7th Nov 2018, 7:20 PM
strawdog
strawdog - avatar