How do I create a sort of password?

How do I create a sort of password? Is there any method?

can you tell us your use-case more in detail?

Yo can use pin code with the Number slot type so the users can use 4-5 digits as a password.