Random.seed() Is less secure than secrets, but I can't find any documentation on using a seed with secrets? or is random.seed just as fine?
Random.seed() Is less secure than secrets, but I can't find any documentation on using a seed with secrets? or is random.seed just as fine?
No, there isn't. secrets uses random's SystemRandom class, which reads from the operating system's random device, such as /dev/urandom on Linux. This OS randomness is based off hardware entropy, which is what gives it its security, and there is no way to seed it.