The function CRCofData calculates a 256-bit CRC code (for TMatrix and TMat3D) or a 128-bit CRC code (for TIntMatrix) over all cells of the matrix. This CRC code is returned as a hexadecimal string of either 64 (TMatrix, TMat3D) or 32 (TIntMatrix) characters.
| Hint: |
Please note that the CRC code cannot be unique but there is only an extremely small chance to get a hash code collision. Thus the CRC code can be used to check whether two matrices are different (if the CRCs differ the matrices must be different), however there is a very small chance that the CRCs of different matrices are equal.
|
|