did.didToPublicKeyConvert a DID (did:key) to a base64 public key. function didToPublicKey(crypto: Crypto.Implementation, did: string): {publicKey: Uint8Array; type: string; };§didToPublicKey(crypto: Crypto.Implementation, did: string): {publicKey: Uint8Array; type: string; }[src]§Parameters§crypto: Crypto.Implementation[src]§did: string[src]§Return Type§{publicKey: Uint8Array; type: string; }[src]