Lidia Fernández schrieb:
Hello all!

Thank Julius Davies, the library that you say me is very good. But now i have another problem... When i encrypt in Java, it made a file in UFT-8 format, and this don't understand by "openssl enc"

Do you know how i can change the "openssl enc -des3..." encode?? i need UFT-8, but i don't know what encode openssl uses.
IIRC "openssl enc -des3" reads binary input and writes binary output, since encrypted data is inherently binary. You may encode the binary output afterwards by other means (for example by using Base64 encoding "openssl enc -base64") into a text format if you need one. UTF-8 would be a quite inefficient encoding for this purpose...

Hope it helps.
Ted
;)

--
PGP Public Key Information
Download complete Key from http://www.convey.de/ted/tedkey_convey.asc
Key fingerprint = 31B0 E029 BCF9 6605 DAC1  B2E1 0CC8 70F4 7AFB 8D26


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to