changed default pswfunc to sha1, closes #111