random

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenNonceStr

func GenNonceStr(baseStr string, length int) string

GenNonceStr 生成随机字符串

func MD5UUID

func MD5UUID() string

MD5UUID new uuid first, use md5 hash

func SHA256UUID added in v0.0.3

func SHA256UUID() string

SHA256UUID new uuid first, use sha256 hash

func SecGenNonceStr

func SecGenNonceStr(baseStr string, length int) string

SecGenNonceStr Security rand

Types

type Intn

type Intn func(n int) int

Jump to

Keyboard shortcuts

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