Export the code to transform DH or EC table entries into usable group specs.