A new clock-controlled keystream generator was proposed,which was composed of three shift registers:two clock-controlled linear feedback shift registers A,B,and one clock-controlling nonlinear feedback shift register C.Let l1,l2and l3denote the length of A,B and C,respectively.The clock-control information is from two bit strings of feedback shift register C,and the times A and B shift are according to the Hamming weights of the two strings,respectively.The period,the linear complexity and the k error linear complexity of the keystream generator are studied,and its security was analyzed.