Added guards against shifing to 0
Merge branch 'master' of https://github.com/arrjay/misc-scripts
up keysize to 4096, we have faster computers these days :)