Page 1 of 1

Encoding

Posted: Wed Feb 22, 2006 11:32 pm
by quocbao
I'm looking 2-way encoding which using both public and private key
what method should i use ?

Re: Encoding

Posted: Thu Feb 23, 2006 6:34 am
by Roja
quocbao wrote:I'm looking 2-way encoding which using both public and private key
what method should i use ?
Need lots more information:

What are you trying to protect?
What impact is acceptable?
How large is the input?
How large do you want the output to be?
How secure do you need it to be?

Posted: Thu Feb 23, 2006 7:02 am
by quocbao
- What are you trying to protect?
It's just a string ( a message , for example )

- What impact is acceptable?
I don't know what to say :(

- How large is the input?
Well , it's just a string , maybe less than 2k

- How large do you want the output to be?
Equal to input , but a bit larger is acceptabe

- How secure do you need it to be?
As secure as it could be

Posted: Sat Feb 25, 2006 8:26 pm
by Ambush Commander
I've never tried doing that before. Would PGP/GPG be good for you? (I don't think there's a wrapper extension, so you'd have to interface with the command line)