I think they concatenate a 4-byte key and a 4 byte versions string to get the full 8-byte DES key.
And the idea for the AES key seems to have been: 27-byte key, 4-byte version, 1 byte null terminator for a total of 32 bytes.