Non-malleable codes for space-bounded tampering