mask

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2017 License: GPL-3.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotDecrypt = errors.New("Not decrypt the text")
	ErrNotMasked  = errors.New("Not masked the text")
	ErrNotUseText = errors.New("This is not a text of utf8")
	ErrEmptyText  = errors.New("Text is empty")
)

Functions

This section is empty.

Types

type Mask

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

func New

func New(password string) (*Mask, error)

func (*Mask) Mask

func (m *Mask) Mask(text string) (string, error)

func (*Mask) UnMask

func (m *Mask) UnMask(text string) (string, error)

Jump to

Keyboard shortcuts

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