Clock-controlled key-stream generator and its cryptographic properties