views:

310

answers:

1

Hi all,

I'm in need of a two-way encryption solution for Ruby, such as Blowfish, Rijndael (AES) or other. The problem, however, is that I can't find an appropriate gem for it. I would like for the library to support several different encryption algorithms so I can compare the performance of each for optimal integration i my application. I would also like it to be open source.

I came across Crypt, but it doesn't install properly and doesn't look like it's been updated in a while. EzCrypto won't install, either. I also saw ruby-aes, but that only supports Rijndael.

After some GitHub searching, I found Encryptor, which seems to be something like what I'm looking for. However, I'd love to get some ideas about any gems/libraries I might have missed.

Thanks in advance!

+1  A: 

I'd recommend Shuber's Encryptor - it wraps the OpenSSL library so you can use anything it supports.

Mike Buckbee
This is probably what I'll end up choosing, yes; just want to see if there are any other alternatives out there first, though.
vonconrad
Tried, tested and works very well.
vonconrad