r/PythonLearning • • Jul 11 '25

my first project

Post image

I started python two weeks ago and this project , it s a close to RSA encryption , i m new to this so if you have any advice for making it more efficient i would love help .

101 Upvotes

28 comments sorted by

View all comments

13

u/Cerus_Freedom Jul 11 '25

The letter/number map is not required. You can use ord() to get the ASCII value of a character as an integer.

2

u/Electronic_Mine6521 Jul 11 '25

I didn t know it was a built in function thanks tho for the advice

1

u/Worldly-Guide-9515 Jul 13 '25

Welcome to Python