[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

api calls using ruby scripting

Raj Kumar

10/1/2008 1:18:00 PM

Hi,
I am trying to write some automation script using ruby for some of the
api calls. There is api sign which is in md5 hash format. How can i
handle this case using ruby.
--
Posted via http://www.ruby-....

1 Answer

James Gray

10/1/2008 1:42:00 PM

0

On Oct 1, 2008, at 8:17 AM, Raj Kumar wrote:

> I am trying to write some automation script using ruby for some of the
> api calls. There is api sign which is in md5 hash format. How can i
> handle this case using ruby.

#!/usr/bin/env ruby -wKU

require "md5"

data = "James Edward Gray II"
puts MD5.md5(data)

__END__

Hope that helps.

James Edward Gray II