I want to serve images that belong to users. For various reasons I want to serve the images unauthenticated. Even though the images would be served unauthenticated I don&#x27;t want a rogue user to be able to guess the final URL for the images easily.<p>So I want to use something like what Google Docs does for images embedded in Google Docs. The images are available publicly, however, the url is hard to guess. For example here is a url to an image embedded in one of my docs.<p>https:&#x2F;&#x2F;lh5.googleusercontent.com&#x2F;0gKizTE7velVl87okXLPS9Lwih_qS1koUzIhlVjXi4iG4S5HAAtF-U5QDR_Hq3UYNWFsT9DGA4GYA1sYG7iDoSCxvB5aGy0a2hYKUM5lusvj5fkbVAL1hNxODDDNJMLQg0C0fGQ<p>How do I generate a similar hard to guess url?
What is the recommended way to generate a long unique cryptographic hash