sha256

package
v0.0.0-...-bd7d7c7 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomCharacter

func GetRandomCharacter(length int) string

* @description: GetRandomCharacter @param length: length @return: string

func GetRandomString

func GetRandomString(length int) string

* @description: GetRandomString @param length: length @return: string

func GetRandomStringFunc

func GetRandomStringFunc(tp int) func(int) string

* @description: GetRandomStringFunc Base ob tp @param tp: 0 Means String;1 Means Character @return: func(int) string

func SHAEncrypt

func SHAEncrypt(src, salt string) string

* @description: SHA Cypto @param src: Original String @param salt: Salt String @return: string

Types

This section is empty.

Jump to

Keyboard shortcuts

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