|
|
|
|
|
by stephenr
3536 days ago
|
|
> i feel that services like these can be useful to introduce a higher level of entropy to your own local random number library They just use /dev/urandom + sha512, and them capitalise some characters. You can pipe /dev/urandom input into any number of tools locally to get random strings - base64 is nice as it gives you a wider range of characters. |
|
The only reason I've made it is to avoid creating random strings every time I need them. In the past few months I've done the following at least 5 times:
1) run ipython 2) run the following code:
The problem that it takes unnecessary time to do it. `curl -L r.ger.lv` is way simpler and faster for the same result. In fact, it's exactly the same code that's running on this site :) It's a small tool so you have fewer excuses to leave `SECURE_STRING = "TODO_CHANGEME"` in settings files.I did this tool mainly for myself, thought I'd share it, maybe someone finds it useful.