For my first ever project in Python, I wanted to code a cipher to encrypt simple messages ( no spaces or lower case to avoid that extra hassle for now ).
My idea was to either:
Choose a letter of the alphabet at random to assign to a letter of the message using lists ( without duplicates ) or
Shuffle the alphabet and assign a new letter using its position ( if a = 0 and b = 1 and so forth, the letter that took those position would be assigned to the letters of the message )
I managed to get a list of the letters of the alphabet using
list.ascii_lowercase and a list of the letters in the message that needs to be encrypted but I'm not sure where to go from there. The second option is more appealing to me, but I don't know how to tackle the problem.
I hope I was clear enough, I'm very new to all of this. Thank you for your understanding.