Changes to design document

* documented the password encryption method