encodeIss function
Implementation
String encodeIss(Uint8List publicKey) {
final header = base58.decode(MULTICODEC_ED25519_HEADER);
final multicodec = MULTICODEC_ED25519_BASE +
base58.encode(Uint8List.fromList([...header, ...publicKey]));
return [DID_PREFIX, DID_METHOD, multicodec].join(DID_DELIMITER);
}