crypto

package
v0.0.0-...-12a582f Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSalt

func GenerateSalt() string

GenerateSalt will generate a salt for use when one is not provided

func Hash

func Hash(input string) uint64

Hash returns a uint64 from sha1 hash of any input string which is the basic for taking experiment parameter inpt and choosing a variant based on index

func HashString

func HashString(input string) string

HashString returns the string sha1 on the hashed input string which we can use for labels and tags for resources included in an experiment

Types

This section is empty.

Jump to

Keyboard shortcuts

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