I have seen websites generate short urls, where they convert IDs for items into a 4 letter string. Here's an example: https://boxd.it/nrI0
This is for a website called Letterboxd, and the link takes you to a movie page. I'm guessing behind the scenes the movie has an integer ID that is then converted into this 4 letter string (or maybe its stored as that 4 letter value to begin with?)
How is this accomplished?