public function create($string)
{
$hash = null;
$this->salt = null === $this->salt ? substr(str_replace('+', '.', base64_encode(String::random(32))), 0, 9) : substr(str_replace('+', '.', base64_encode($this->salt)), 0, 9);
$hash = crypt($string, '$1$' . $this->salt);
return $hash;
}