random1
September 14, 2025 ยท View on GitHub
Shows how to use xtd::random::next_bytes method.
Sources
Build and run
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run
Output
First Series:
104 222 250 126 113 23 137 65 199 68
72 242 71 179 29 70 1 160 135 214
129 158 46 16 137 48 66 28 81 190
157 155 212 222 3 211 14 137 1 30
50 217 229 181 252 55 241 74 230 148
153 59 16 152 54 226 11 64 133 236
90 255 30 52 45 116 203 193 27 167
187 190 68 218 37 16 229 116 150 161
183 130 219 90 192 254 24 232 174 116
46 191 226 53 118 198 148 29 76 106
Second Series:
104 222 250 126 113 23 137 65 199 68
72 242 71 179 29 70 1 160 135 214
129 158 46 16 137 48 66 28 81 190
157 155 212 222 3 211 14 137 1 30
50 217 229 181 252 55 241 74 230 148
153 59 16 152 54 226 11 64 133 236
90 255 30 52 45 116 203 193 27 167
187 190 68 218 37 16 229 116 150 161
183 130 219 90 192 254 24 232 174 116
46 191 226 53 118 198 148 29 76 106