Stainless steel encoders for wet areas