업로드 짧은 URL 조회 및 생성

You would use this function:

and then lookup the SHA1 in the database to find the upload record.