Clientside hashing. Libraries from CDN's. No data is sent to the server. No warranties of merchantability or fitness for a particular purpose. Code at github.com/cjdmax/hashgen
Or execute the following on the linux commandline echo -n mypassword | openssl dgst -binary -sha1 | openssl base64
Unsalted SHA1 is not particularly secure; only use for passwords of low importance
If you have Python 3 available, use python3 -c 'import crypt; print(crypt.crypt("yourpassword", crypt.mksalt(crypt.METHOD_SHA256)))' on the linux commandline.