Finished the implementation of the md5generate()