cryptoutils

package
v0.0.0-...-8dfc95f Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomInt

func GenerateRandomInt(min, max int) (uint64, error)

Generate a cryptographically secure random 32-bit integer within a range

func GenerateRandomString

func GenerateRandomString(length int) (string, error)

GenerateRandomString generates a random string of a given length

func GenerateSecretKey

func GenerateSecretKey(password string) (string, error)

GenerateSecretKey generates a secret key using Argon2

Types

This section is empty.

Jump to

Keyboard shortcuts

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