Optional : An associative array containing options.
Algorithms supported
PASSWORD_DEFAULT : bcrypt algorithm. Output length is more than 60 so better to use 255 chars
PASSWORD_BCRYPT : CRYPT_BLOWFISH to create the hash. Output 60 chars legth
PASSWORD_ARGON2I : Argon2i hashing algorithm
PASSWORD_ARGON2ID : Argon2id hashing algorithm
Example using options ( Optional )
salt : has to be minimum 22 char length. If not given then default salt will be used. Salt option is removed in PHP 7.0 so better not to use salt and allow PHP to use default salt.
cost : default value 10 .This is the algorithm cost which depends on hardware.