RSA encryption

This is a discussion on RSA encryption within the C Programming forums, part of the General Programming Boards category; I am developing a program that uses the RSA encryption algorithm to encrypt user input. I currently read the user ...

  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,189
    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.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

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, 08:52 AM
  2. RSA Encryption Algorithm help
    By gL_nEwB in forum C++ Programming
    Replies: 2
    Last Post: 04-27-2008, 05: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, 09:14 AM
  5. RSA Encryption
    By minesweeper in forum Tech Board
    Replies: 6
    Last Post: 08-30-2003, 02:48 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21