How to handle big integers in C

后端 未结 5 1462
无人及你
无人及你 2021-01-13 13:26

I want to implement cryptography algorithms. So I need a suitable data type to handle integers with a lot of digits.

Many recent languages, such as Java, Python and

5条回答
  •  心在旅途
    2021-01-13 13:34

    The (to me) obvious choice would be GMP whose main developer, Torbjörn Granlund, was a member of the Swedish five man team that won the Simon Singh "Cipher Challenge" in 2000.

    According to the website the code can be used to calculate 1000000000 digits of pi in 1957 seconds on an AMD Phenom II @ 3.2 GHz.

    The code has been developed since 1991.

提交回复
热议问题