crypto

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Decrypt xDecrypt
View Source
var Encrypt xEncrypt
View Source
var HMAC xHmac
View Source
var Hash xHash
View Source
var Key xKey
View Source
var Rand xRand

Functions

func RandomBytes deprecated

func RandomBytes(max int) (value []byte, err error)

Deprecated: Use `Rand.Bytes()` instead

func RandomInt deprecated

func RandomInt(max int) (value int, err error)

Deprecated: Use `Rand.Int()` instead

func RandomString deprecated

func RandomString(max int) (value string, err error)

Deprecated: Use `Rand.String()` instead

func SetDefaultKey added in v1.8.0

func SetDefaultKey(key string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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