i need help turning a string called "money" into an unreadable string. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

i need help turning a string called "money" into an unreadable string.

this is my code: money = 999 i want to take it and turn it into a string that makes no sense like taking the sentence "jelly rocks" into a string of random characters like "fysxhjocyb" and be able to make it "jelly rocks" again. basically i want to be able o encode/decode a string so that it is unreadable and i can use it as a save code for a game i making then turn it back to a number that the game can add to and remove from so i can score it.

1st Oct 2017, 2:05 AM
vortetty
vortetty - avatar
5 Answers
1st Oct 2017, 2:04 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 5
Arf, I can't help you, but Google cypher codes in python, I am sure you'll find what you seek !
1st Oct 2017, 2:06 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
1st Oct 2017, 2:35 AM
vortetty
vortetty - avatar
+ 2
sorry, forgot it needs to be in python
1st Oct 2017, 2:05 AM
vortetty
vortetty - avatar
+ 1
already tried to find it online, found nothing. but thank you for trying!!!
1st Oct 2017, 2:14 AM
vortetty
vortetty - avatar