A study on mathematical models of asymmetric cryptography used in digital signature and cryptocurrencies