educative.io

Educative

URL creation service missing in the component diagram above?

The component diagram for the PasteBin does not mention anything about the URL creation service ,which would return a URL once the user input is successfully stored.Is that missing in the diagram?

1 Like

I think so. Obviously, for security reasons the content key can’t be the same thing as URL hash key, so there must be another URL creation service for generating unique string identifier. In section 6 of this chapter, it says “‘URlHash’ is the URL equivalent of the TinyURL”, I guess this what it is. Then they hide this component in the diagram for simplicity.