password encoding complete