hey, is there any lib or module in ruby on rails to validate credit cards??? thanks in advance ;);)
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''> --- Ursprüngliche Nachricht --- > Von: Brutyn nick <brutyn_nick-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> > An: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Betreff: [Rails] Re: Credit card validation > Datum: Thu, 17 Nov 2005 16:00:10 +0000 (UTC) > > 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 > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Have a look at the Sentry library for your crypto needs: http://sentry.rubyforge.org/ It integrates beautifully with AcitveRecord, too. Cheers! -DF On 11/18/05, Brutyn nick <brutyn_nick-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> 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 > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >