Harden string encode with salt methods