I'm looking for a way to validate a long string and see if its changed, so lets say for example that have the following string.
Now lets say that this was changed to
I'm looking for an easy way to identify if this has changed. But the key thing here is size ideally im looking for an integer style result to identify if its changed, the reason being is because in the real situation i have 10million rows, all around 5000 characters in length and this is why i cant do simple string compares i.e. not enough memory on server, so i need to store the states of each row as something smaller in size.
So to summerise is there a way i can represent a large string as an integer or something simular in size in order to indentify if any changes have taken place?
Any working examples would be greatly appreciated