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

[email protected] 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…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs