title and hash

This commit is contained in:
adrien committed 2025-04-24 17:25:50 +02:00
1 parent c4ab6cb09d
commit 1689b54570
3 files changed
+90 -28

No files matched your search

+8
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);
}
}