I have a problem with Ruby's openssl library.
Here is what I do:
In my Rails application, I start the "./script/console", then type:
>>OpenSSL::HMAC.hexdigest('sha256','','')
gives me this error:
TypeError: wrong argument (String)! (Expected kind of OpenSSL::Digest::Digest) from (irb):15:in `hexdigest' from (irb):15
I googled this error but couldn't get an answer on what's going on.