util

package
v0.12.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2016 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAddress

func IsAddress(str string) bool

Is the candidate a proper public address string (20 bytes, hex).

func IsHash

func IsHash(str string) bool

Is the candidate a hash (32 bytes, same as public keys)

func IsHex

func IsHex(str string) bool

Is the candidate a proper hex string.

func IsPrivKey

func IsPrivKey(str string) bool

Is the candidate a private key string (64 bytes, hex). This is not a good name.

func IsPubKey

func IsPubKey(str string) bool

Is the candidate a public key string (32 bytes). This is not a good name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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