Hessian Matrix at posterior mode

What exactly do you want to know? It uses a finite difference approximation following Abramowitz and Stegun (1965) formulas 25.3.23. See https://github.com/DynareTeam/dynare/blob/master/matlab/hessian.m
mode_compute=5 and 6 work differently. See Hessian computation