79623363

Date: 2025-05-15 12:55:29
Score: 1
Natty:
Report link

Resolved by myself.

Laravel uses PHP hash for storing passwords.

So I run the following code to get Hash and put it in DB

<?php


$plaintext_password = "newPassword";


$hash = password_hash($plaintext_password,
        PASSWORD_DEFAULT);


echo "Generated hash: ".$hash;
?>

You can run it on OneCompiler

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Raf