NOJIRA Add different modes of salt generation

The last one, based on uniqid() and mt_rand() is not cryptographically
secure. It’s strongly recommended to install either mcrypt or openssl!