Django Posts
In this article, I compare the randomness of secret keys generated using Django’s built-in key generator and my custom JavaScript method. Using statistical tests like Chi-square, KS test, runs test, and entropy calculation, I analyze the randomness and security of the keys. Both methods show high levels of randomness, with Django’s keys slightly outperforming in some tests. ( read the article )
Categories - Development , Django , SciPy , NumPy
One of my passions is helping people learn to write code and I know a lot of people who are learning or who have learned Django. I have noticed that a lot of people use web based tools to generate their secret keys and while there’s nothing particular wrong with that, I find it worrisome that those tools don’t show the algorithm they use to generate keys. So I thought I would create my own secret key generator and use it as a way to start teaching people a bit about how ‘random’ works in software. ( read the article )
Categories - Development , Django