crypto

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESGCMDecrypt

func AESGCMDecrypt(data []byte, key []byte) ([]byte, error)

func AESGCMEncrypt

func AESGCMEncrypt(data []byte, key []byte) ([]byte, error)

func MD5Digest

func MD5Digest(v []byte) []byte

func RandU32

func RandU32() uint32

func SHA1Digest

func SHA1Digest(v []byte) []byte

func SHA256Digest

func SHA256Digest(v []byte) []byte

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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