You can achieve this with cryptographic hashes and some off-chain storage mechanism. Corruption of the data is not the same as persistence of the data.