Using openssl command line tool to encrypt/decrypt data, DES ECB

Posted by smsrecv on Super User See other posts from Super User or by smsrecv
Published on 2011-02-21T22:40:31Z Indexed on 2011/02/23 23:27 UTC
Read the original article Hit count: 226

Filed under:
|

Hello

How can I create a random 64 bit key for DEC ECB encryption/decryption, and then use the same key for encryption/decryption many times? All this must be done using openssl command line tool.

In all the examples I have seen, they do not use a "key", they use "password". But I need a key - array of bytes - because I need to send it to the other party (I don't know which API they use for cryptography.)

Then I need to use this key - array of bytes - to encrypt/decrypt data.

Thnak you

© Super User or respective owner

Related posts about cryptography

Related posts about openssl