encrypt

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AsymmetricRSA = iota
	AsymmetricDSA
	AsymmetricECC
)
View Source
const (
	FailPolicyNull   = "Return null string"
	FailPolicyAppend = "Append salt suffix of value"
	FailPolicy
)
View Source
const (
	SymmetryAES = iota
	SymmetryDES
	Symmetry3DES
	SymmetryBlowfish
)

Variables

This section is empty.

Functions

func GetWithSalt

func GetWithSalt(val string) (string, string)

Types

type Asymmetric

type Asymmetric struct {
	Algo string
}

type IRReverse

type IRReverse struct {
	Algo uint8
}

func (IRReverse) WithIntSalt

func (IRReverse) WithIntSalt(val string, salt ...int) string

func (IRReverse) WithStringSalt

func (IRReverse) WithStringSalt(val string, salt ...string) string

func (IRReverse) WithUIntSalt

func (IRReverse) WithUIntSalt(val string, salt ...uint) string

type Symmetry

type Symmetry struct {
	Algo string
}

Jump to

Keyboard shortcuts

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