Tag Archives: create password salt using str_shuffle

How to generate random string in PHP

snippets

How to generate random string in PHP Have you ever needed to generate a random password from a given set of chars in PHP? You could also probably wanted a password salt used for encrypting the user password. Well here are two solutions which I can think of at the moment to help you generate

Request an article ←