Write the PHP expression to generate a 32-byte cryptographically secure random token as a hex string.
A password reset feature needs an unguessable token, not one based on rand() or time().
Ready to try it?
Create a free account and subscribe to take "Write a Cryptographically Secure Random Token". Earn 90 XP and track your internship progress.
Already have an account? Sign in