hash

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSum

func CheckSum(content []byte) string

func MD5

func MD5(v []byte) string

func RandKey

func RandKey(n int) string

RandKey get one random string with specified length. reference from https://colobu.com/2018/09/02/generate-random-string-in-Go/#Source

func WithSalt

func WithSalt(password, salt string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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