My Problem - Hash - Encryption - Number - Public Key - Assymetric
From: Ad Rock (q1z5a9e6_at_hotmail.com)
Date: 06/30/04
- Next message: Augustus S.F.X Van Dusen: "Re: IS this for real?!"
- Previous message: Erwann ABALEA: "Re: LibTomMath forked [SSE2 addons]"
- Next in thread: Tom St Denis: "Re: My Problem - Hash - Encryption - Number - Public Key - Assymetric"
- Reply: Tom St Denis: "Re: My Problem - Hash - Encryption - Number - Public Key - Assymetric"
- Reply: Michael Amling: "Re: My Problem - Hash - Encryption - Number - Public Key - Assymetric"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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?
- Next message: Augustus S.F.X Van Dusen: "Re: IS this for real?!"
- Previous message: Erwann ABALEA: "Re: LibTomMath forked [SSE2 addons]"
- Next in thread: Tom St Denis: "Re: My Problem - Hash - Encryption - Number - Public Key - Assymetric"
- Reply: Tom St Denis: "Re: My Problem - Hash - Encryption - Number - Public Key - Assymetric"
- Reply: Michael Amling: "Re: My Problem - Hash - Encryption - Number - Public Key - Assymetric"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|