Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory(conf model.MaskFactoryConfiguration) (model.MaskEngine, bool, error)
Create a mask from a configuration
Types ¶
type MaskEngine ¶
type MaskEngine struct {
Universe []byte
}
MaskEngine is a struct to create incremental int
func (MaskEngine) Mask ¶
func (l MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Mask return the value with luhn checksum
Click to show internal directories.
Click to hide internal directories.