When generating the nonce random randrange is used, it would be better to swap this out to use the secrets module randbelow function instead
When generating the nonce random randrange is used, it would be better to swap this out to use the secrets module randbelow function instead