Python’s Secret Module: Secrets

@lee-rowe
3 min readJan 8, 2022
Photo by Ben White on Unsplash

In my last blog post, I wrote about using Python to hash any given key or a string of characters into another value. Python’s secrets module works in a similar way, as that it can generate cryptographically strong random numbers that are more than suitable for managing data such as passwords, account authentication, security tokens, and related secrets. In this short blog post I will discuss the function includes in secrets as well…

--

--