crypto

package
v2.4.10 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashStringSlice

func HashStringSlice(data []string) string

HashStringSlice returns a hex hash of a slice of strings

func RandInt64

func RandInt64(max int64) int64

Int returns a uniform random value in [0, max). It panics if max <= 0.

func RandString

func RandString(length int) string

RandString returns a random alphanumeric string of a given length

Types

This section is empty.

Jump to

Keyboard shortcuts

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