package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Jul 20, 2021
License: ISC
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DID returns autonomy DID key of a private key
func PublicKey(privateKey []byte) []byte
PublicKey return public key bytes of a private key
PublicKeyFromDID return public key bytes of a give DID key.
Sign returns the signature of a message using the given private key
func VerifySignature(did, message, signature string) bool
VerifySignature validates the signature of a message with the given public key
Source Files
¶
Click to show internal directories.
Click to hide internal directories.