pii

package
v0.0.0-...-4e7cb45 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKey

func NewKey() []byte

Types

type PII

type PII struct {
	// contains filtered or unexported fields
}

func Create

func Create(key []byte) PII

func (PII) Decrypt

func (pii PII) Decrypt(ciphertext string) string

func (PII) Encrypt

func (pii PII) Encrypt(text string) string

Jump to

Keyboard shortcuts

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