crypto

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package crypto provides tools to generate random tokens

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecureToken

type SecureToken string

SecureToken is a randomly generated token.

func GenerateSecureToken

func GenerateSecureToken(length int) (SecureToken, error)

GenerateSecureToken creates a cryptographically random SecureToken.

Jump to

Keyboard shortcuts

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