GenerateTMDKeyPrim
procedure GenerateTMDKeyPrim (var Key; KeySize : Cardinal; const Str : string);
GenerateTMDKeyPrim produces key by applying a hash algorithm to the string passed in Str.
This routine is defined in the OnGuard unit. (as of 1.15 this routine has been moved to the OgUtil unit)