Amorphous FeNiPt nanoparticles with tunable length for electrocatalysis and electrochemical determination of thiols.