title and hash
This commit is contained in:
1 parent
c4ab6cb09d
commit
1689b54570
3 files changed
+90
-28
No files matched your search
@@ -130,4 +130,12 @@ class Grille {
|
||||
unset($this->mots_utilises[$mot_col]);
|
||||
}
|
||||
}
|
||||
|
||||
public function hash() {
|
||||
$string = "";
|
||||
foreach ($this->grille as $ligne) {
|
||||
$string .= implode("", $ligne);
|
||||
}
|
||||
return hash('sha256', $string);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user