The Science Behind Cryptocurrrencies Cryptography