Decrypt AES-256-EAX encrypted string in Ruby?
I need to decrypt a AES-256-EAX encrypted string from Java in Ruby. Ruby's built-in OpenSSL::Cipher provides functionality to decrypt AES-256-CBC, when I try to use AES-256-EAX, its throwing that the algorithm is not supported.
Is there any library/gem out there that decrypts AE开发者_运维问答S-256-EAX string in Ruby?
Thanks in advance.
Are you sure that you got the right cipher string ? Googling for "AES-256-EAX" does yield only 8 hits for me and I've never heard of it before. And if OpenSSL doesn't support it you are out if luck, I guess.
Is it possible for you to run your ruby code with jruby ? In this case you could use the java lib inside ruby code to decrypt your string.
精彩评论