I will also add that pokemon generated on Sword/Shield should have height and weight values. As with the encryption constant, a value of 0 is possible but extremely unlikely and I always consider a pokemon with 0 in height/weight/EC as hacked.
Another route to create a new pokémon would be to take a legal pokemon of the same species (you can use a pk8 file from the download page) and then edit it.