Don't use the encryption, it's quite simply just not working and I believe may lead to corruption.

I think hashing is a good way to go if you're worried about people modifying the data. Make up a...