Python Forum
Thread Rating:
  • 5 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I do this faster?
#1
Hello!

I´m making a RSA-encrypting/decrypting program.

When I encrypt I use a list but t,e and n are big numbers so this take a while. Is there anyway python can do the exact same thing but faster?

wordlist_krypterad = [(t ** e) % n for t in wordlist_ascii_int]
Thanx!
/Gasimoe
Reply


Messages In This Thread
Can I do this faster? - by Gasimoe - Feb-28-2017, 06:22 PM
RE: Can I do this faster? - by nilamo - Feb-28-2017, 06:37 PM
RE: Can I do this faster? - by stranac - Feb-28-2017, 07:19 PM
RE: Can I do this faster? - by zivoni - Feb-28-2017, 08:00 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020