Why not use a base64 encoded sha1 hash of your password salted with the web address like this:<p><pre><code>    #!&#x2F;bin&#x2F;sh
    #usage: webpass.sh &lt;website&gt;

    website=$1
    stty -echo
    read -p &quot;Password: &quot; password
    echo
    stty echo
   
    echo -n &quot;$website&quot; | openssl sha1 -hmac &quot;$password&quot; | cut -d&quot; &quot; -f2 | xxd -r -p | base64 | tr -d -c &quot;[:alnum:]&quot;

    echo
</code></pre>
At least this is somewhat cryptographically secure.