I have an application that currently sends out a link with a unique key allowing a user to view a page unique for them without having to login.
I could force users to login to view this page however since the majority of my users don't want to I cannot do this.
Currently i'm using Str::Uuid() to create a key but is there a better way?
Would using microtime and then either encrypting or hashing this provide any advantages?
I'd like it to be as difficult as possible for someone to 'guess' this key.