Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 469 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 469 Bytes

zero-alloc verhoeff checksum algorithm

Go Report Card

Usage

import "github.com/jancajthaml-go/verhoeff"

ok := verhoeff.Validate("00123014764700968325")

digit, error := verhoeff.Digit("x")

signed := verhoeff.Generate("1")

Resources