##### 22 Jun 2018
A few years ago I wrote a checksum generator app in C++ and evolved in, what I like to say, an app with password cracking capabilities. In fact, it was only an app that opened a file and calculated the hash for each line and tested with the target hash value. Simple! Simple and badly written. I even remove it because I remember that it was “OOP-like” written with a lot of duplicated code, implementations...
Monte Carlo methods are numerical techniques which rely on random sampling to approximate their results. Thus, in Monte Carlo integration, the process of numerical estimation of integrals is applied. Considering we want to integrate a one-dimensional function $f(x)$ from $\textit{a}$ to $\textit{b}$: . Since the integral of a function $f(x)$ can be interpreted as the area below the function’s curve, we can pick up a random value $x \in [a,b]$ and evaluate the function at...