Nothing :( I just used the 16 character (and more) key but nothing, openssl complains when I pass a -K without a -iv should I use -k instead?
so far I can't decrypt anything with the cli that was encrypted with the lib, is there any documentation about that? for rc4 or similar ciphers? (no iv) thanks On Thu 09 Mar 2006 19:47, Dr. Stephen Henson wrote: > On Thu, Mar 09, 2006, Manuel Arguelles wrote: > > you mean like this? > > > > $ openssl enc -d -rc4 -in out.bin -k mysecretkey -nosalt > > ¨Å¥ > > óVRCÑÆMðù6o > > > > or maybe using the -K -iv options > > > > key[0]=0xA0; key[1]=0xA1; > > iv[0]=0xB0; iv[1]=0xB1; > > BIO_set_cipher(cipher, EVP_rc4(), key, iv, 1); > > > > can I use > > openssl enc -d -rc4 -in out.bin -K A0A1 -iv B0B1 > > Well RC4 is a stream cipher meaning that it doesn't have an IV. Also the > buffer passed to the key argument must contain a key of the required > length. If it isn't it will use whatever data is in memory after the > supplied pointer. > > In the case of RC4 the default length is 128 bits so for test purposes use > a string with exactly 16 characters in it. > > 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] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]