checkdigit library

Classes

CheckDigit<T>
An abstract class for check digit algorithms implementation.
Cnpj
A class that implements the CNPJ (Cadastro Nacional da Pessoa Jurídica) check digit algorithm.
Cpf
A class that implements the CPF (Cadastro de Pessoas Físicas) check digit algorithm.
Damm
A class that implements the Damm checksum formula.
Ean
A class that implements the EAN-X check digit algorithm.
Iban
A class that implements the IBAN (International Bank Account Number) check digit algorithm.
Isbn10
A class that implements the ISBN-10 check digit algorithm.
Isin
A class that implements the ISIN (International Securities Identification Numbers) check digit algorithm.
Luhn
A class that implements the Luhn checksum formula used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, etc.
Verhoeff
A class that implements the Verhoeff checksum formula.

Constants

cnpj → const Cnpj
An instance of the default implementation of the Cnpj.
cpf → const Cpf
An instance of the default implementation of the Cpf.
damm → const Damm
An instance of the default implementation of the Damm.
ean13 → const Ean
An instance of the default implementation of the Ean for 13-digit identifier number.
ean8 → const Ean
An instance of the default implementation of the Ean for 8-digit identifier number.
iban → const Iban
An instance of the default implementation of the Iban.
isbn10 → const Isbn10
An instance of the default implementation of the Isbn10.
isbn13 → const Ean
An instance of the default implementation of the ISBN-13 check digit algorithm.
isin → const Isin
An instance of the default implementation of the Isin.
luhn → const Luhn
An instance of the default implementation of the Luhn.
upcA → const Ean
An instance of the default implementation of the UPC-A check digit algorithm.
verhoeff → const Verhoeff
An instance of the default implementation of the Verhoeff.