Skip to content

jancajthaml-python/verhoeff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Performant and straight-forward implementation of verhoeff checksum algorithm

Usage

import verhoeff

ok = verhoeff.Validate("00123014764700968325")

digit = verhoeff.Digit("x")

signed = verhoeff.Generate("1")

Resources