I'm trying to use the command line openssl enc program to decrypt some text. The encryption is happening on another computer but I'm not sure what options it's using. If I got to this site (http://rc4.online-domain-tools.com/), I am able to decrypt fine. But I can't seem to get it to work with openssl.
An example would be if you have a hex string of daea5465, you can use the key "test" to decrypt it to "test" on that site. But if I use an input file with that hex string and the hex string of "74657374" ("test" in hex), I get garbage back out. This was the command string I was using: openssl enc -d -rc4 -in test.hex -out output.txt -K 74657374 -nosalt. Which comes out to "+]VO��i". Anyone have any ideas? I assume I'm missing some switch or something but I've tried everything I could find on it.
[link][1 comment]