achx

package
v0.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ABA8

func ABA8(rtn string) string

ABA8 returns the first 8 digits of an ABA routing number. If the input is invalid then an empty string is returned.

func ABACheckDigit

func ABACheckDigit(rtn string) string

ABACheckDigit returns the last digit of an ABA routing number. If the input is invalid then an empty string is returned.

func TraceNumber

func TraceNumber(routingNumber string) (string, error)

TraceNumber returns a trace number from a given routing number and uses a hidden random generator. These values are not expected to be cryptographically secure.

We decided not to increment trace numbers from a shared counter because it will create a lot of "NNNNN00001" trace numbers that are duplicated and hard to uniquely identify a Transfer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL