Credit card validation

hey,

is there any lib or module in ruby on rails to validate credit cards???

thanks in advance ;):wink:

hey,

i found a creditcard lib
http://rubyforge.org/projects/creditcard/

i also need encryption, i was planning on using ‘digest/sha1’ but i was
think, u
can only encrypt, but not decrypt, right??

i also need decryption, does anyone has anyother ideas for encryption??

Thx
Nick

sha1 is not for encryption but for creating message digests.

the most flexibility should come from ruby stdlib ‘OpenSSL’

Have a look at the Sentry library for your crypto needs:
http://sentry.rubyforge.org/

It integrates beautifully with AcitveRecord, too.

Cheers!

-DF

You can try this also:

http://rubyforge.org/projects/payment