I wish there was a way to create a link which doesn't contain the password so I can send the password separately.
So you could just copy the link as everything before the # and send the rest as the password separately
It's the same concept as how mega.nz do their E2EE.