Golang implementation of a BPAY Generator written in PHP
go get -u github.com/17twenty/bpayThen simply use it as:
import (
"github.com/17twenty/bpay"
...
)
...
validBPAY := bpay.GenerateMOD10V1("yourInputAccount")
validBPAYv5 := bpay.GenerateMOD10V5("yourInputAccount")Feature requests/PRs welcome.
Originally based on a StackOverflow answer