L
Lloyd Zusman
I have some files on my system that have been encrypted using the "openssl"
executable (via "openssl rc4 -e"), and I would like to decrypt them using
the "OpenSSL" ruby module.
I know that the salt and iv values are stored in the files that are encrypted
by the openssl executable, but I haven't been able to properly extract that
information from these files so that I can use this salt and iv with the ruby
OpenSSL decryption functions.
Can anyone point me to a ruby example for extracting this salt and iv
info from an openssl-encrypted file, so I can then decrypt it via ruby's
OpenSSL module?
Thanks in advance.
executable (via "openssl rc4 -e"), and I would like to decrypt them using
the "OpenSSL" ruby module.
I know that the salt and iv values are stored in the files that are encrypted
by the openssl executable, but I haven't been able to properly extract that
information from these files so that I can use this salt and iv with the ruby
OpenSSL decryption functions.
Can anyone point me to a ruby example for extracting this salt and iv
info from an openssl-encrypted file, so I can then decrypt it via ruby's
OpenSSL module?
Thanks in advance.