• Riskable
    link
    fedilink
    English
    arrow-up
    35
    ·
    4 months ago

    Oooh! This is a great solution to this problem! Just write down both numbers and perform a luhn check:

    https://en.wikipedia.org/wiki/Luhn_algorithm

    The one that lies only has a 1 in 10 chance of making up a number that will pass the check! Cool shortcut: If it starts with a 1, 2, 7, 8, or 9, they’re lying. Those are reserved for things that aren’t credit cards 👍