Cryptography Libraries

Hey!

So we aren’t all getting scared, all I did was switch emails - this
is Ari B…

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 B.

On Fri, Nov 02, 2007 at 09:24:12AM +0900, thefed wrote:

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 B.

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

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/12/openssl

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-and-exponent

Regards,
Rodney Carvalho
http://www.internautdesign.com