crypto

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NonceSize = 24

Variables

This section is empty.

Functions

func RandHex

func RandHex(byteCount int) string

RandHex generates secure random bytes of byteCount long and returns that in hex encoded string format

func RandNonce

func RandNonce() [NonceSize]byte

func RandSideID

func RandSideID() string

RandSideID returns a string appropate for use as the Side ID for a client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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