Re: About SH2 Library

Scott Mathieson
Sun, 12 Nov 2006 12:03:53 -0000

It''s part of the standard install:

require "digest/sha2"
Digest::SHA256.hexdigest("test")
=>
"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"

On Sunday 12 November 2006 09:53, Gaetano Nicosia wrote:
> Hi to All,
>
> I''m trying Ruby on Rails, with a simple sample for
"Authentication",
> that require the SHA2 library.
> How find this library and how can install this ?
>
> I hope in Your Help.
>
> Best Regards.
>
> Gaetano

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---