code

salvatore salvatore_uni at tiscali.it
Sun Jul 18 13:54:40 CEST 2004


I can't sent  you all the program but i can make a short test program.Anyway the program i am working on is basically a chat,which encrypt 
the test before it sends it(with his public key) and it decripts the message with the private.I also find out that the program works locally,but i 
tested it on two different computers i get a SegFault.So i was wondering if those functions are correct... (?)

Thanks
Salvo

On Saturday 17 July 2004 23:26, you wrote:
> Hi,
> 
> salvatore:
> > int encrypt_buffer(char *b_to_encrypt, char *b_encrypted )
> > int decrypt_buffer(char *b_to_decrypt, char *b_decrypted, int n_bytes )
> > 
> > I don't get any error from neither of these functions but when i
> > display the decrypted buffer it's still encrypted. Can anybody give me
> > a hint?!
> > 
> Hmmm... you might want to send a complete test program (i.e. one that
> has main() ;-) which demonstratess the problem.
> 
> -- 
> Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf at smurf.noris.de
> 



More information about the Gcrypt-devel mailing list