tanszek:oktatas:techcomm:luhn_algortithm_to_protect_credit_card_numbers
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tanszek:oktatas:techcomm:luhn_algortithm_to_protect_credit_card_numbers [2024/11/12 12:03] – knehez | tanszek:oktatas:techcomm:luhn_algortithm_to_protect_credit_card_numbers [2025/10/27 20:20] (current) – [Steps of the Luhn Algorithm] knehez | ||
|---|---|---|---|
| Line 42: | Line 42: | ||
| </ | </ | ||
| - | Here is a C implementaion | + | Here is a C implementation |
| <sxh c> | <sxh c> | ||
| Line 107: | Line 107: | ||
| 3. **Calculate the Checksum with the Luhn Algorithm**: | 3. **Calculate the Checksum with the Luhn Algorithm**: | ||
| - | - Apply the Luhn algorithm to calculate the checksum digit (the last digit), which will make the number valid. | + | * Apply the Luhn algorithm to calculate the checksum digit (the last digit), which will make the number valid. |
| === Example Code to Generate a Valid Card Number === | === Example Code to Generate a Valid Card Number === | ||
tanszek/oktatas/techcomm/luhn_algortithm_to_protect_credit_card_numbers.1731412992.txt.gz · Last modified: 2024/11/12 12:03 by knehez
