added default numbit for private key (corrected)