Luhn

Hi Guys,

Has anyone used the Luhn Algorithm before?

I need to write some ruby code to generate random card details but as my
ruby isnt to great im a bit stuck.

i have the code written by a previous developer in Python BUT i need to
convert it to ruby. does anyone know how to do this?

kind regards,
usman h hussain

On Thu, Aug 5, 2010 at 9:07 AM, Usman H. [email protected]
wrote:

Has anyone used the Luhn Algorithm before?

I need to write some ruby code to generate random card details but as my
ruby isnt to great im a bit stuck.

"There’s A Gem For That"™ :slight_smile:

Google ruby gem Luhn