commit password encode