byteUtils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateNRandomBytes

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

GenerateNRandomBytes generate a random n bytes. It returns both keys in rsa package type

func GenerateStringHexRandom

func GenerateStringHexRandom(n int) (string, error)

GenerateStringHexRandom generate n randoms bytes and represent it in a hex string. It returns both keys in rsa package type

Types

This section is empty.

Jump to

Keyboard shortcuts

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