Signs jar and checks if it has been tampered with.