common

package
v1.5.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: GPL-3.0 Imports: 10 Imported by: 12

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.

Jump to

Keyboard shortcuts

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