how are input shafts reconditioned?

I am fortunate enough to have a hot tank at my disposal( potassium hydroxide heated to 180°) works great for cleaning parts, just don't put aluminum in it!!