utils

package
v0.0.0-...-e1d4789 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IterationCount = 25000
)

Variables

This section is empty.

Functions

func CombineSessionDataAndSignature

func CombineSessionDataAndSignature(sessionData []byte, signature string) []byte

func CreateSignature

func CreateSignature(value []byte, secretKey string) string

func GeneratePBKDF2

func GeneratePBKDF2(password []byte, salt []byte, iterateCount int, keyLength int) string

func HashingPassword

func HashingPassword(password string) string

func SeparateSessionDataAndSignature

func SeparateSessionDataAndSignature(combined []byte) (string, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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