This is a user-friendly version of Bitcoin Core's python script for generating an RPC Auth config string. For additional security you can save this web page locally and run it on an offline computer.
The Bitcoin Core RPC Auth Generator repository can be found at https://github.com/jlopp/bitcoin-core-rpc-auth-generator
This logic is also available as an npm module via https://github.com/an-ivannikov-dev/bitcoin-rpcauth-js
Twitter Bootstrap: http://getbootstrap.com/