# QCLI sub-group: RNG Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_rng.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_rng.html) The commands in the random number generator (RNG) sub-group generate random numbers. ## Init Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_rng.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_rng.html) This command initializes the RNG module. ## Get Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_rng.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_rng.html) This command gets four bytes random numbers. ## Getn Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_rng.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_rng.html) This command gets n bytes of random numbers (0 < n ≤ 1024). | Parameter name | Type/Range | Description | | --- | --- | --- | | number | 0 < n ≤ 1024 | Get n bytes of random numbers. | Last Published: Jun 03, 2026 [Previous Topic QCLI sub-group: FwUp](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_fwup.md) [Next Topic QCLI sub-group: QCC](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_qcc.md)