2026-10-29 14:33:16 +01:00
2026-10-29 14:33:16 +01:00
2026-10-29 14:33:16 +01:00
2026-10-29 14:33:16 +01:00
2026-10-29 14:33:16 +01:00
2026-10-29 14:33:16 +01:00
2026-10-29 14:33:16 +01:00

random.c

A terrible way to get a random uint8_t, written in C (ish).

usage

$ ./random ; echo $? # return code -> random number

example

$ ./random ; echo $?
4
$ ./random ; echo $?
56
$ ./random ; echo $?
155
$ ./random ; echo $?
230

why use this

  • it's random because of undefined behaviour (undefined -> random, trust)
  • it's more secure than xkcd 221 based rngs
  • it's funny
S
Description
No description provided
Readme GPL-3.0
49 KiB
0 Stars 1 Watchers 0 Forks
Languages
C 57.2%
Linker Script 21.6%
Makefile 21.2%