PHP: Generate cryptographically secure token

Intro Sometimes we need to create a random string or token using PHP. For example, it’s quite common that when we want to reset our password on some website a message is sent to the mail we registered. Probably the message have a link like this: site.com/reset-pass?token=123 Where 123 is the token. Today we will […]

PHP: Generate cryptographically secure token Read More »