https://medium.com/asecuritysite-when-bob-met-alice/can-you-solve-this-big-integer-problem-6f40b90f5352