Re: gpg symmetric to Java JCA decryption

2010-03-29 Thread Werner Koch
On Sun, 21 Mar 2010 22:09, webe...@gmail.com said: No, I don't need OpenPGP, just need symmetric encryption done by a standard command line Unix tool and decryption by means of the Java You still need to define which standard you want to use. The most popular encryption standards are 1.

Re: gpg symmetric to Java JCA decryption

2010-03-21 Thread Juergen Weber
On Fri, Mar 19, 2010 at 11:23 PM, David Shaw ds...@jabberwocky.com wrote: On Mar 19, 2010, at 4:51 PM, Juergen Weber wrote: Hi, has anybody tried to decrypt a symmetric gpg encryption with Java using Java Cryptography Architecture included in the JDK? echo hello |  gpg -c --cipher-algo

gpg symmetric to Java JCA decryption

2010-03-19 Thread Juergen Weber
Hi, has anybody tried to decrypt a symmetric gpg encryption with Java using Java Cryptography Architecture included in the JDK? echo hello | gpg -c --cipher-algo 3DES -a --passphrase my pass | java MyDeCrypt --cipher-algo 3DES --passphrase my pass should result in hello This should be

Re: gpg symmetric to Java JCA decryption

2010-03-19 Thread David Shaw
On Mar 19, 2010, at 4:51 PM, Juergen Weber wrote: Hi, has anybody tried to decrypt a symmetric gpg encryption with Java using Java Cryptography Architecture included in the JDK? echo hello | gpg -c --cipher-algo 3DES -a --passphrase my pass | java MyDeCrypt --cipher-algo 3DES