common

package
Version: v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: GPL-3.0 Imports: 10 Imported by: 8

Documentation

Overview

common package provides utility functions to generate random keys and random directory

Source Files

Each file contains following contents

- utils.go : Provides utility functions to generate a random directory and random keys

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeys

func GenerateKeys(num int) (keys []*ecdsa.PrivateKey, nodekeys []string, addrs []common.Address)

func GenerateRandomDir

func GenerateRandomDir() (string, error)

func RandomBytes

func RandomBytes(len int) ([]byte, error)

func RandomHex

func RandomHex() string

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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