faker.utils.checksums

Module Contents

Functions

luhn_checksum(→ int)

calculate_luhn(→ int)

Generates the Checksum using Luhn's algorithm

faker.utils.checksums.luhn_checksum(number: float) int
faker.utils.checksums.calculate_luhn(partial_number: float) int

Generates the Checksum using Luhn’s algorithm