Hi,
For generating the password, you have to go with creating your own logic.. like if you are getting date of birth, then do some manipulations in that and send that with some other concatinating characters.e.g If user enters Name as "ABCDE" and DOB as 01/01/2000, then u can write a logic which will accept these two parameters and return a string. Password: AB4DE.... First two chars+sum of integers in DOB+Last two chars.
This is just a simple example, if you find any other better solution then please let me know.
Best of luck...
R S