vaibhavb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Apr-16 22:10 UTC
RSA signing with Ruby OpenSSL
hi all - I''m not sure if this is the correct forum but i was wondering if anyone has successfully done RSA-SHA1 signing with Ruby OpenSSL and interoperated with Java Servers. I''m using the following code but i''m not sure if the "sign" method on works properly - @key = OpenSSL::PKey::RSA.new(2048) #sign @key.send("sign", OpenSSL::Digest.::SHA1.new, "text to sign") The expected signature from above "sign" is not what i know the Java crytpo api likes. Thanks in advance. regards, Vaibhav --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
vaibhavb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: I am using the allready created tables in oracle and connecting to the ruby on rails model class, i used ''set_table_name ''table name'' '' and it gets connected but, i want to access its records and it has different id field name as field_id, i want to access its record making field_id field as my id field so that i can access its records but i dont want to rename field_id to id sence, it has laks of records and my company is using those records can any one sugust me the way to connect the model to field_id column...plz help Thanks in advance... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---