title and hash

This commit is contained in:
2025-04-24 17:25:50 +02:00
parent c4ab6cb09d
commit 1689b54570
3 changed files with 90 additions and 28 deletions

View File

@ -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);
}
}