I'm looking for the way to use a session id for encrypt an ID of file and use it as a temporary url for downloading.
I found just encrypt
function in Laravel, but that's not exact what I want. Is there some similar function that could use a session id string for encoding and decoding?