The designs of several hash functions (SB, FSB, RFSB, SFSB, OHFGC, ...) are based on the error-correcting codes properties. The hash function based on the classical Goppa code "OHFGC" [7] is distinguished by the possibility that an user selects certain parameters to achieve a level of performance and security corresponds to its needs. The objective of this article examines the security features of the hash function "OHFGC" and its behavior in order to propose relevant parameters for different user situations. We also propose both a method to summarize all parameters in one and a method that links the size of the hashed to the document.