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 ¶
MaskEngine is a list of masking value for hash masking
func NewMask ¶ added in v1.15.0
func NewMask(list []model.Entry) MaskEngine
NewMaskSeeded create a MaskRandomList with a seed
func (MaskEngine) Mask ¶
func (hm MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Mask choose a mask value by hash
Click to show internal directories.
Click to hide internal directories.