Project

General

Profile

Activity

From 08/01/2011 to 08/07/2011

08/04/2011

07:51 PM Bug #5156 (Rejected): Problem with creating a SHA2 digest hash when string has character sequence "#$"
As Alex pointed, use single quotes.
You may know Ruby expands the variable in a double quoted string literal like ...
naruse (Yui NARUSE)
07:25 PM Bug #5156: Problem with creating a SHA2 digest hash when string has character sequence "#$"
This is a problem of string interpolation, not SHA:
ruby-1.9.2-p290 :002 > s="968901L#$q675PwX"
=> "968901L"...
regularfry (Alex Young)
06:55 PM Bug #5156 (Rejected): Problem with creating a SHA2 digest hash when string has character sequence "#$"
When calculating a SHA2 hash in Ruby using Digest::SHA2, it gives weird results.
Consider the following string: "9...
mydoghasworms (Martin Ceronio)
 

Also available in: Atom