Hi!

How to produce a "canonical" RC4 test vectors as seen on Wikipedia

http://en.wikipedia.org/wiki/Rc4#Test_vectors

I've tried some RC4 implementations from C to Perl, and *all* of
them produse а correct result,
even
http://www.fyneworks.com/encryption/rc4-encryption/

Is it possible to produce this result with openssl ? I've tried

$ echo -n Plaintext | openssl enc -rc4 -nosalt -k Key | od -t x1
0000000 bc 2f 3b b6 a1 8c 0d 99 19
0000011


$ echo -n Key | od -t x1
0000000 4b 65 79
0000003
$ echo -n Plaintext | openssl enc -rc4 -nosalt -nopad -K 4b6579 -iv 00
 | od -t x1
0000000 25 28 47 e2 d8 44 d2 f1 0e
0000011

e.t.c.

Is openssl a RFC 6229 complaint ?


--
-=AV=-
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to