[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Cryptography Libraries

fedzor

11/2/2007 12:24:00 AM

Hey!

So we aren't all getting scared, all I did was switch emails - this
is Ari Brown.

Anyways, let's cut to the chase -

What are some good cryptography libraries, for Diffie Hellman, TEA,
RSA, etc. ?

I saw the Pure Ruby library (kudos to that!), but was looking for
speed as a factor. That means a C extension is probably necessary.

If all else fails, I'm looking to use ruby2cext to make the Pure Ruby
library a Pure Ruby Library in C.

That should be pretty nice, i might add!

Thanks,
Ari Brown

2 Answers

Jeremy Hinegardner

11/2/2007 5:25:00 AM

0

On Fri, Nov 02, 2007 at 09:24:12AM +0900, thefed wrote:
> Hey!
>
> So we aren't all getting scared, all I did was switch emails - this
> is Ari Brown.
>
> Anyways, let's cut to the chase -
>
> What are some good cryptography libraries, for Diffie Hellman, TEA,
> RSA, etc. ?
>
> I saw the Pure Ruby library (kudos to that!), but was looking for
> speed as a factor. That means a C extension is probably necessary.
>
> If all else fails, I'm looking to use ruby2cext to make the Pure Ruby
> library a Pure Ruby Library in C.
>
> That should be pretty nice, i might add!
>
> Thanks,
> Ari Brown

Once the next rubygems comes out I'll be releasing a ruby extension
ruby-libtommath (needs mkrf) and then start work on ruby-libtomcrypt
which will probably satisfy much of this need.

If you want a TEA C extension, I can see what I can whip up from one of
the existing C implementations of TEA.

enjoy,

-jeremy

--
========================================================================
Jeremy Hinegardner jeremy@hinegardner.org


rodney

11/2/2007 8:12:00 PM

0

I've been using Ruby's OpenSSL library to create and verify RSA digital
signatures. I've been having issues because there is very little to no
documentation. However, my company been posting blogs on how we've used
them. Here are some of the blogs:


Digital Signature Example
http://blog.internautdesign.com/2007/10/...

Creating a public key from modulus and exponent for digital signature
verification
http://blog.internautdesign.com/2007/11/2/ruby-openssl-rsa-public-key-from-modulus-an...

Regards,
Rodney Carvalho
http://www.internaut...
--
Posted via http://www.ruby-....