Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDIDKey ¶
CreateDIDKey creates a did:key ID using the multicodec key fingerprint as per the did:key format spec found at: https://w3c-ccg.github.io/did-method-key/#format.
func KeyFingerprint ¶
KeyFingerprint generates a multicode fingerprint for pubKeyValue (raw key []byte). It is mainly used as the controller ID (methodSpecification ID) of a did key.
func PubKeyFromFingerprint ¶
PubKeyFromFingerprint extracts the raw public key from a did:key fingerprint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.