crypto

package
v0.0.0-...-d304510 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPublicKey

func CheckPublicKey(decentralizedIdentifier, publicKey string) (bool, error)

CheckPublicKey checks whether the public key matches the decentralized identifier (DID)

func KYCClaim

func KYCClaim(investorDID, expirationDate string, status int) string

KYCClaim returns a string of a claim

func PublicKeyFromAddress

func PublicKeyFromAddress(address string) string

PublicKeyFromAddress returns a public key by its address

func PublicKeyFromSignature

func PublicKeyFromSignature(signature, msg string) string

PublicKeyFromSignature returns a public key by its signature

Types

This section is empty.

Jump to

Keyboard shortcuts

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