Masking the id with random string in url

Is there a way of doing it on the fly without having to add a new column?