SHA256 for Ruby not working on Mac
On my mac 10.5, when I use the OpenSSL :: Digest :: Digest.new ('sha256') command, I get the Unsupported digest algorithm (sha256). Does anyone know how to solve this?
+2
s1nister
source
to share
1 answer
OS X shipped with Ruby 1.8.6p287 doesn't seem to be compiled, but the one shipped with MacPorts has 1.8.7p160.
It is generally best to use the MacPorts version as it is more up to date.
+1
tadman
source
to share