DEV Community

Discussion on: How to generate thousands of usernames and halfway decent passwords with Bash💯💯

Collapse
 
thormeier profile image
Pascal Thormeier

Glad you liked it! Encrypting them sounds like a good idea indeed. GPG sounds like the right tool for that, according to a tutorial on techrepublic it can be used to encrypt and decrypt files. Theoretically, executing something like ./create-users.sh 10 > usernames.txt && gpg -c usernames.txt would achieve that. Having that in the script itself would be a lot more convenient, of course!