Credit card validation



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

thanks in advance ;):wink:



i found a creditcard lib

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??



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:

It integrates beautifully with AcitveRecord, too.




You can try this also: