Supporting request in ticket #18

Change default bits to 2048 from 1024 and make default hashing algorithm as sha1.