From: "Eric I." Date: 2008-04-27T07:30:24+09:00 Subject: Re: OpenSSL with Ruby Hi Vaibhav, Any chance you're dealing with a character encoding issue? By default Java uses UTF-16. And you may be using UTF-8 with Ruby. Just a thought.... Eric ---- Are you interested in on-site Ruby and/or Ruby on Rails training that uses well-designed, real-world, hands-on exercises? http://LearnRuby.com On Apr 16, 6:50 pm, vaibhavb wrote: > I tried the above but it still is not same as Java output - I want to > be able to sign and update each byte of the text instead of string > (thats what Java does) .. any ideas? > > Thanks in advance. > > regards, > Vaibhav >