[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-core
Subject:    Re: [ANN] Ruby 1.8.6 has been released
From:       "Akinori MUSHA" <knu () iDaemons ! org>
Date:       2007-03-13 1:49:03
Message-ID: 866495kj5c.knu () iDaemons ! org
[Download RAW message or body]


At Tue, 13 Mar 2007 07:48:05 +0900,
Berger, Daniel wrote:
> From the NEWS file:
>
> * New library: digest/bubblebabble
>
> I wish you would have let me know you were going to do this. I already
> have a version out there at

Indeed I should have.  I'll keep it in mind for the future.

> http://raa.ruby-lang.org/project/digest-babble/, which is a port of Ben
> Trott's Perl module. Personally, I like my (well, Ben's) API better, and
> writing this module in C seems like extreme overkill for something so
> simple.

My implementation in C is just as simple as yours in Ruby, and the API
is a superset of Perl's, which simply provides a static function only.

My API is not complex at all.  It's fairly easy to use.  Here's an
example as follows:

	require 'digest/bubblebabble'

	# as a static function
	puts Digest.bubblebabble(Digest::SHA1.digest('BubbleBabble'))

	# like hexdigest()
	puts Digest::SHA1.bubblebabble('BubbleBabble')

	# like hexdigest() via the instance method
	hash = Digest::SHA1.new
	hash.update('BubbleBabble')
	puts hash.bubblebabble

Where you can use any hashing algorithms besides SHA1.

My intension is to implement a usable and extensible framework and
unified API for message digesting.

> Anyway, I hope this doesn't cause confusion. I'll delete my project from
> the RAA and hide it on RubyForge when I get home.

Sorry for the trouble.

--
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Different eyes see different things,
    Different hearts beat on different strings --
       But there are times for you and me when all such things agree"

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic