Daniel Berger
Posts: 1383
Nickname: djberg96
Registered: Sep, 2004
|
Daniel Berger is a Ruby Programmer who also dabbles in C and Perl
|
|
|
|
Got SHA2? Yep
|
Posted: Feb 23, 2005 7:21 PM
|
|
|
This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
|
Original Post: Got SHA2? Yep
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
|
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Daniel Berger
Latest Posts From Testing 1,2,3...
|
|
As many of you know, SHA1 was broken recently. Good think Ruby ships with Digest::SHA2 as part of the standard library. :)
require "digest/sha2"
digest = Digest::SHA256.new("Hello Ruby")
Bingo, baby.
Read: Got SHA2? Yep
|
|