Addresses #46, use a larger default key size

Default size will be 2048, though this is now parameterized and one
could pass the key size into the generate_secret method in a later
refactoring.