utils

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandom added in v0.7.1

func GenerateRandom(t Type) (string, error)

GenerateRandom generates a random string for either password or salt

func HashPass

func HashPass(password string) string

HashPass hashes a password using a Whirlpool hash. Passwords are presumed to be hashed.

func PSQL added in v0.7.1

func PSQL() sq.StatementBuilderType

Types

type Type added in v0.7.1

type Type int
const (
	GeneratePassword Type = iota
	GenerateSalt
)

Jump to

Keyboard shortcuts

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