# Packages
No description provided by the author
# Functions
CreateDIDKey calls CreateDIDKeyByCode with Ed25519 key code.
CreateDIDKeyByCode 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.
CreateDIDKeyByJwk 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.
KeyFingerprint generates a multicode fingerprint for pubKeyValue (raw key []byte).
PubKeyFromDIDKey parses the did:key DID and returns the key's raw value.
PubKeyFromFingerprint extracts the raw public key from a did:key fingerprint.
# Constants
BLS12381g1g2PubKeyMultiCodec for BLS12-381 G1G2 public key in multicodec table.
BLS12381g2PubKeyMultiCodec for BLS12-381 G2 public key in multicodec table.
ED25519PubKeyMultiCodec for Ed25519 public key in multicodec table.
P256PubKeyMultiCodec for NIST P-256 public key in multicodec table.
P384PubKeyMultiCodec for NIST P-384 public key in multicodec table.
P521PubKeyMultiCodec for NIST P-521 public key in multicodec table.
X25519PubKeyMultiCodec for Curve25519 public key in multicodec table.