strings

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(str string) string

Hash generates a hash code from string

func HashFromBytes

func HashFromBytes(str []byte) string

HashFromBytes generates a hash code from byte array

func SecureRandomAlphaString

func SecureRandomAlphaString(length int) string

SecureRandomAlphaString returns a secure random string

func SecureRandomBytes

func SecureRandomBytes(length int) []byte

SecureRandomBytes returns the requested number of bytes using crypto/rand

Types

This section is empty.

Jump to

Keyboard shortcuts

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