[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
committed by Diogo Peralta Cordeiro
parent 65b6a924bd
commit 9ec1b667c0
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);
}
/**