carlsson87/mod11 - version: 1.0.1

for more information visit the package's GitHub page

Package contains the following modules:

Mod11

Modulus 11 can be implemented in different ways. This implementation is made according to the description in this document (english description starts on page 4).

Modulus 11 is method to calculate a check digit. Check digits helps detect human transcription errors, for example in bank account numbers. More about check digits can be read here.

Usage

import Mod11

Mod11.calculate "24135" == Just '0'
Mod11.verify "241350" == True