transformations

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FPEValue

func FPEValue(text string, location types.Location, key string, tweak string, isDecrypt bool) (string, error)

FPEValue encrypt/decrypt value with FF1 algorithm

func HashValue

func HashValue(text string, location types.Location) (string, error)

HashValue ...

func MaskValue

func MaskValue(text string, location types.Location, replaceWith string, charsToReplace int32, fromEnd bool) (string, error)

MaskValue ...

func RedactValue

func RedactValue(text string, location types.Location, newValue string) (string, error)

RedactValue ...

func ReplaceValue

func ReplaceValue(text string, location types.Location, newValue string) (string, error)

ReplaceValue ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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