#checkdigit
Weekdays are the checkdigit for a date
August 16, 2026 at 7:02 AM
```dart
bool validateModulus10weight3and1(int target, [int? checkDigit]) => checkDigit == null ? validateModulus10weight3and1(target ~/ 10, target % 10) : (0 <= checkDigit && checkDigit < 10 ? modulus10weight3and1(target) == checkDigit : validateModulus10weight3and1(target ~/ 10, target % 10));
```
February 9, 2024 at 3:56 AM
É usar um número válido que mas que não exista... Só devem validar o checkdigit
October 7, 2023 at 11:52 AM
Unfortunately, the algorithm for the check digit on credit cards is not transposition-resistant.

I get the feeling if credit cards were being invented today, it would be.

#transposition #creditcard #checkdigit #errordetection #coding #information
September 22, 2025 at 5:42 PM