encrypt

package
v0.0.0-...-07ef6c8 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Artistic-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMd5

func GetMd5(in string) string

func HashCode

func HashCode(in string) int32

func OtpUserSecret

func OtpUserSecret(secretBase string, username string, separation string, f func(string, string) string) string

func SmDecryptDir

func SmDecryptDir(inDir string, salt string, encrypted string, isReserved bool, isRecursive bool, batchCount int) (string, error)

func SmDecryptFile

func SmDecryptFile(inFile string, salt string, encrypted string, isReserved bool) error

func SmDecryptString

func SmDecryptString(in string, salt string) (string, error)

func SmEncryptDir

func SmEncryptDir(inDir string, salt string, encrypted string, isReserved bool, isRecursive bool, batchCount int) (string, error)

func SmEncryptFile

func SmEncryptFile(inFile string, salt string, encrypted string, isReserved bool) error

func SmEncryptString

func SmEncryptString(in string, salt string) (string, error)

func StringToucs2

func StringToucs2(inStr string) []byte

func StringToucs2String

func StringToucs2String(inStr string) string

func Ucs2StringTostring

func Ucs2StringTostring(str string) string

func Ucs2Tostring

func Ucs2Tostring(in []byte) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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