Need to make my program send random OTPs to my phone number

Aakarsh:
I'm sorry. I meant I tried randomSeed() in a different program to see if it works. It did.
Here, I want to make the "storedPassword" variable to be able to use the random() function.
Will this be possible?

What is the point of a random stored password? Nobody could ever guess it.