<?php function generateSalt($len = 32) { $salt = ""; for ($i = 0; $i < $len; $i++) { $index = rand(0, (strlen($this->chars) - 1)); $salt .= $this->chars[$index]; } return $salt; }
You have javascript disabled. You will not be able to edit any code.