// COMPLETE THREAD

No Subject

3 expanded posts ยท every known parent and child

NODE 49e19b54No Subject
Help with encryption needed

        Can someone point me towards a set of C functions along the lines of:

char *encrypt (cleartext_string, key);
char *decrypt (encrypted_string, key);

Where encrypt would return the encrypted string and decrypt would return the
decrypted string.  The stronger the encryption the better.  Thanks.
NODE a04b44d3No Subject
There are tons of functions along those lines.  Your query is not very
specific. What kind of algorithm do you want, public-key or
secret-key?  What size key?  Blocksize?  whatever.

You've just defined an abstraction that includes every single
encryption function known to man....

-derek
NODE dd49b41aRe: your mail
> 
> There are tons of functions along those lines.  Your query is not very
> specific. What kind of algorithm do you want, public-key or
> secret-key?  What size key?  Blocksize?  whatever.
> 
> You've just defined an abstraction that includes every single
> encryption function known to man....
> 
> -derek
> 

It should be a secret key algorithm, and be able to hanlde blocks of at least 
256 characters in length.  Keysize isn't as important as the type of encryption
being used.  Something that is reasonably secure such as IDEA or DES is 
preferable to a function that just XORs everything.  

I'm sure if I was a more patient person I could download a few megs of source 
from the net and pore through it to find what I'm looking for.  I was hoping 
that someone on this list could be of assistance and save me the trouble.  
Thanks.