A mild synthesis of nitriles by von Braun degradation of amides using triphenyl phosphite–halogen-based reagents.