did.publicKeyToDidConvert a base64 public key to a DID (did:key). function publicKeyToDid(crypto: Crypto.Implementation,publicKey: Uint8Array,keyType: string,): string;§publicKeyToDid(crypto: Crypto.Implementation, publicKey: Uint8Array, keyType: string): string[src]§Parameters§crypto: Crypto.Implementation[src]§publicKey: Uint8Array[src]§keyType: string[src]§Return Type§string[src]