How to program RSA algorithms using python language

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fatin hhmed
    New Member
    • Mar 2008
    • 1

    How to program RSA algorithms using python language

    How to program RSA algorithms using python language includes the public and private key, encryption and decryption
  • Subsciber123
    New Member
    • Nov 2006
    • 87

    #2
    Originally posted by fatin hhmed
    How to program RSA algorithms using python language includes the public and private key, encryption and decryption
    I did this once. PM me if you want the script. It might be a bit buggy: I haven't tested it extensively, but it seems to work most of the time.

    There were some annoying bits, such as getting the string to be the right size for the key.

    It'll even generate a set of keys from a password using the md5 hash to get the lower limit of the prime numbers. Not certain if this method of creating a key is secure or not, but don't really care all that much.

    It'll do any bit level of encryption, but I think I set a lower limit of 64 bit encryption or something because there is little point in encrypting something less securely than that. Keep in mind, though, that the higher the number of bits, the slower the program gets. However, the slowest part of the program is the part that is only done once, the generation of numbers that are probably prime.

    Comment

    Working...