Crypto-key.rb


#1

Does anyone know how to implement the crypto-key.rb as found on
http://swik.net/Typo/too-biased/Simple+Encryption/ckpz

It allows for encryption and decryption of credit card numbers that
are stored in a database. I am somewhat new to Rails, and I don’t
always know how to use libraries and modules.

Thanks,
will clark // graphic design
www.willclarkdesigns.com/

removed_email_address@domain.invalid
559 | 584 6785
559 | 380 2731 [ facsimile ]


#2

On 6/9/06, Will C. removed_email_address@domain.invalid wrote:

will clark // graphic design

I’d recommend you check out ezcrypto. You can easily install it by:

gem install ezcrypto

Then to use it:

require ‘ezcrypto’

It does everything you need and much more. It also has decent
documentation with some clear examples. And if you have any question
I’d be glad to answer.