utils

package
v0.0.0-...-a4f6240 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBase64

func DecodeBase64(data []byte) ([]byte, error)

func EncodeBase64

func EncodeBase64(data []byte) []byte

func HashSHA256

func HashSHA256(s []byte) []byte

function to hash a string

func HashShake256

func HashShake256(value []byte) []byte

func RandomBytes

func RandomBytes(bytes []byte)

func RandomString

func RandomString(size int) string

function to generate a random string

Types

This section is empty.

Jump to

Keyboard shortcuts

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