A blinding solution for inference from astronomical data