How to build strong checksums for a large arrays + file?



My NN has one 2D array of 1500 cells x 1600 cells
plus 17 similar 2D arrays of 1500 cells x 1600 cells.

All together my single array (3D) has 18 layers of 1500 cells x 1600
cells .
= 43 million cells

1) I'm looking for a way of having a checksum system which will be
updated each time a new cell value changes.

Speed of execution is very important.

I would appreciate some advice about how to set up a CHECKSUM which
could be self correcting.

This is what I had in mine for self correcting my array
http://home.brisnet.org.au/~aufempen/PB/PB_Guy_NN01.jpg
But this is probably to clumsy.

Anyway may be a Checksum on the array I am saving as a file would be
alright as well

2) This CHECKSUM system is used during the manipulation of the data and
also during the saving of the data on the HD, as a RANDOM file?

The checksum would identify immediately any error and the Checksum
algorithm will correct the data errors (if any).

[Programming with Powerbasic]

Guy (gnh888)

.



Relevant Pages