base64

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomBytes

func GenerateRandomBytes(n int) ([]byte, error)

GenerateRandomBytes will generate random bytes.

Args:

  • Number of bytes

Returns:

-[]byte or error

func GenerateRandomString

func GenerateRandomString(n int) (string, error)

GenerateRandomString returns base64 encoded string

Args:

  • number of bytes

Returns:

  • string or error

Types

This section is empty.

Jump to

Keyboard shortcuts

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