I am currently running a Jupyter lab service on my Ubuntu 18.04 server. I have set the password on my lab using the following command:
$ jupyter notebook --generate-config
$ jupyter notebook password
It responds with the following output:
[NotebookPasswordApp] Wrote hashed password to /Users/you/.jupyter/jupyter_notebook_config.json
After that I add the config settings in .jupyter/jupyter_notebook_config.py file as follows:
c.NotebookApp.password = u'sha1:bcd259ccf...<my hashed password here>'
What I want is to get SHA 256 hashed password instead of SHA 1 purely because of the additional level of encryption offered by SHA 256 hash due to its bigger length.
I am wondering if there's a way to make this possible? Currently I have tried several options and none of them seem to work.