Skip to content

fisproject/Damm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Damm

Overview

A Go implementation of the Damm algorithm, a check digit algorithm created by H. Michael Damm. It detects all single-digit errors and adjacent transposition errors (swapping adjacent numbers).

Example

d, err := damm.Append("54994384990") // "549943849904"

result, err := damm.Verify(d) // true

Licence

MIT

About

Damm check digit algorithm in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages