use 1024 bit as a minimum key for now