[DATABASE][Schema_version] Change the hashing algorithm to SHA3-512

This commit is contained in:
Alexei Sorokin
2020-07-23 18:16:56 +03:00
parent 31dcf99e61
commit eefaf7a2b4
2 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ class SchemaUpdater
public function checksum(array $def)
{
$flat = serialize($def);
return sha1($flat);
return hash('sha3-256', $flat);
}
/**