modhex
Go package modhex
implements hexadecimal encoding and decoding using ModHex alphabet.
See https://developers.yubico.com/OTP/Modhex_Converter.html and https://developers.yubico.com/yubico-c/Manuals/modhex.1.html.
It is a fork of the encoding/hex
package from the Go standard library.
Dump
and Dumper
functions were removed as they are mostly used for debugging, and debugging in ModHex alphabet is not useful.
go get github.com/AlekSi/modhex@latest
import "github.com/AlekSi/modhex"