So How Do I Divide In Crypto Space?

--

In cryptography, we typically only deal with unsigned integers and where are number can span to more than 4,096 bits. Our normal maths deals with 64-bits, but with cryptography, we have extremely large values, such as for 2,048 bits we get a maximum value of:

32,317,006,071,311,007,300,714,876,688,669,951,960,444,102,669,715,
484,032,130,345,427,524,655,138,867,890,893,197,201,411,522,913,463,
688,717,960,921,898,019,494,119,559,150,490,921,095,088,152,386,448,
283,120,630,877,367,300,996,091,750,197,750,389,652,1 06,796,057,638,
384,067,568,276,792,218,642,619,756,161,838,094,338,476,170,470,581,
645,852,036,305,042,887,575,891,541,065,808,6 07,552,399,123,930,385,
521,914,333,389,668,342,420,684,974,786,564,569,494,856,176,035,326,
322,058,077,805,659,331,026,192,708,4 60,314,150,258,592,864,177,116,
725,943,603,718,461,857,357,598,351,152,301,645,904,403,697,613,233,
287,231,227,125,684,710,820,2 09,725,157,101,726,931,323,469,678,542,
580,656,697,935,045,997,268,352,998,638,215,525,166,389,437,335,543,
602,135,433,229,604,6 45,318,478,604,952,148,193,555,853,611,059,596,
230,656

Common operators are “to the power of” and the modulus operator. We can also use the multiply operator in our maths, such as if we have of n and which is secret and a message value of M, the encrypted message is then:

--

--

Prof Bill Buchanan OBE FRSE
ASecuritySite: When Bob Met Alice

Professor of Cryptography. Serial innovator. Believer in fairness, justice & freedom. Based in Edinburgh. Old World Breaker. New World Creator. Building trust.