Key generation flow chart.