I have been wanting to make this code shorter but dont know how | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I have been wanting to make this code shorter but dont know how

Cypher encrypt characters by key https://code.sololearn.com/c9QG0zOLIK8y/?ref=app

6th May 2020, 10:27 PM
emmanuel
emmanuel - avatar
5 Answers
+ 1
can you explain your encryption algorithms first to make helping you much easier
6th May 2020, 11:22 PM
Shen Bapiro
Shen Bapiro - avatar
+ 1
here try this code i just made. this might help you learn how to make smaller, cleaner code man https://code.sololearn.com/cOAzJBVOIr01/?ref=app
6th May 2020, 11:49 PM
Shen Bapiro
Shen Bapiro - avatar
0
It takes in a string of characters and rotates each character by an encryption key eg 4
6th May 2020, 11:25 PM
emmanuel
emmanuel - avatar
0
A will be encrypted to E
6th May 2020, 11:26 PM
emmanuel
emmanuel - avatar
0
Thanks
6th May 2020, 11:53 PM
emmanuel
emmanuel - avatar