Thread: RSA encryption

  1. #1
    Registered User
    Join Date
    Dec 2009
    Location
    Colorado
    Posts
    41

    RSA encryption

    I am developing a program that uses the RSA encryption algorithm to encrypt user input. I currently read the user input into a character array and then run through the array and convert from a letter to a number. I then pad the rest of the array with random numbers. The part I am struggling with is using this array to create a number (all the array elements concatenated) which I will use in the encryption. Any suggestions? I think I could just right the numbers to a file (or maybe the command line) and then read the resulting number back in. This seems somewhat circuitous - is there a faster/easier way?

    I am still learning C so maybe I just need to know some special function. Has anyone developed and RSA program?

    On a side note, has anyone here done anything with elliptic curve cryptography?
    Last edited by waterborne; 12-16-2009 at 04:33 PM.

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by waterborne View Post
    On a side note, has anyone here done anything with elliptic curve cryptography?
    NSA has, the general consensus in the community is that it doesn't increase the level of security versus modular arithmetic on a processing requirement basis, i.e. for a given number of OPS, modular methods give better security than elliptic curves by simply using a larger key size.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. RSA Encryption, S.O.S. Emergency Distress Signal
    By sofiastrange in forum C Programming
    Replies: 1
    Last Post: 09-05-2009, 07:52 AM
  2. RSA Encryption Algorithm help
    By gL_nEwB in forum C++ Programming
    Replies: 2
    Last Post: 04-27-2008, 04:14 AM
  3. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  4. RSA encryption with 1024 bit keys
    By bennyandthejets in forum C++ Programming
    Replies: 23
    Last Post: 09-18-2005, 08:14 AM
  5. RSA Encryption
    By minesweeper in forum Tech Board
    Replies: 6
    Last Post: 08-30-2003, 01:48 PM