add pwd encode