See www.dis.uniroma1.it/~alberto/didattica/JCE_3DES.java as an example en mode 
"ede: encrypt-decrypt-encrypt"
   
  Abderrahmane,
  

"Dr. Stephen Henson" <[EMAIL PROTECTED]> a écrit :
  On Thu, Nov 08, 2007, Lidia Fernndez wrote:

> Hello all!!
>
> I have an application that interact with Linux and windows.
> i have to cypher a file in Linux, and windows has to decrypt it.
>
> I use openssl and 3des to cypher it.
>
> openssl enc -des3 -salt -in file.txt -out 3descifr.txt -pass 
> pass:lidia CIPHER
> openssl enc -des-ede3-cbc -d -in 3descifr.txt -out 3desdescifr.txt 
> -pass pass:lidia DECRYPT
>
> Do you know if i can decrypt the file with Java??
>

You need to implement the relevant functionality. That means parsing
the file to get the salt and then implemeting EVP_BytesToKey() in Java using
the documented algorithm.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]


             
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

Reply via email to