mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-20 12:03:52 +01:00
This tool generates a random hexadecimal value of a given maximum size. This is useful for generating random canary values during compile-time for the ssp module which currently uses a constant value.
187 B
187 B
randhex.py
Usage: randhex.py <MAXBITS>
This script generates a random hexadecimal value of the given maximum
size in bits. If MAXBITS is not specified it defaults to 64.