Security Benefits #54702
Unanswered
PawanVerma1
asked this question in
Ideas
Security Benefits
#54702
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To enhance security, I recommend using String OTP (STROTP) instead of traditional numeric OTPs.
Why Choose String OTP?
Implementing STROTP strengthens authentication and ensures better protection against unauthorized access.
My function is
function strotp()
{
$time=time();
return strtoupper(substr(md5($time), 0,6));
}
echo strotp();
Best regards,
Pawan Verma
PHP Laravel Developer
Linkedin Profile : Pawan Verma
Beta Was this translation helpful? Give feedback.
All reactions