My Problem - Hash - Encryption - Number - Public Key - Assymetric

From: Ad Rock (q1z5a9e6_at_hotmail.com)
Date: 06/30/04


Date: Wed, 30 Jun 2004 16:03:32 +0200

Hello,

I have the following problem. I've written an app. The app generates a
number. The user has to send that number back to me via email. The user
is allowed to see that number. So, that number must be signed by my app
in some way, it doesn't have to be encrypted.

Working with Public Key/Private Key encryption methods such as RSA would
probably be the best thing to do, BUT, I searched the Internet for very
easy intuitive plain simple no-hassle straight-forward C libraries, but
I can't find one. I know about BeeCrypt, Crypto++ and a lot of others,
but no, ... I want something like:

char *p = create_public_key();
char *q = create_private_key();

char *encrypted_message = encrypt(message, p);
char *decrypted_message = decrypt(encrypted_message, q);

THAT easy. Is there really not a library available in the PULBIC DOMAIN
(free for commercial use) that is so easy to use? I also looked at
GnuPG. Noooooooo...

But maybe assymetric encryption is not necessary in this case? Because
working with public and private keys is not that user friendly. If I
would have to use some sort of public key, it would want it to be only 4
digits long (or maybe 7...).

I read a bit on sci.crypt and everyone seems to agree that keeping the
algorithm secret is not a good protection. So, inventing my own
encryption method is not the way to go. Is it really that simple to
crack a homebrown encryption method from assembly language?

What can I do? Write my own RSA lib?



Relevant Pages

  • Re: My Problem - Hash - Encryption - Number - Public Key - Assymetric
    ... I've written an app. ... > encryption method is not the way to go. ... Good crypto libraries are out there. ... I wouldn't look for one kit that "handles all security aspects for me" cuz ...
    (sci.crypt)
  • Re: My Problem - Hash - Encryption - Number - Public Key - Assymetric
    ... I've written an app. ... Is there really not a library available in the PULBIC DOMAIN ... > encryption method is not the way to go. ... Write my own RSA lib? ...
    (sci.crypt)
  • Re: Question on creating an executable
    ... My app works fine on W2K but not XP, and I'm pretty sure it has something to ... > define that interface and the GUIDs and ProgIDs that identify it - NEVER ... > support this - all external libraries are dynamically linked in VB. ... > type-checking, call resolution, during compile-time. ...
    (microsoft.public.vb.general.discussion)
  • Re: Run 10.20 App on 11.00 ?
    ... installed on both machines using the vendor's install scripts. ... > if the app links in libc.a then you basically up the creek because you have ... Use chatr to see what the dependent libraries are. ... an industrial control system made by Fisher Control Systems. ...
    (comp.sys.hp.hpux)
  • Re: comparison between portability libraries?
    ... exist quite a few portability libraries for applications on different ... The API for these ... is for the app being written. ...
    (comp.lang.misc)