encrypt password POST data