Add pass encoding

Add simple password encoding