Search the documentation

Type to search. Use ↑ and ↓ to move, Enter to open.

Arbitrary-precision arithmetic

Integer arithmetic on numbers larger than a machine word, as needed for RSA.

1
projects
1
run in the browser
Defining formula
T(n)=3 T(n/2)+O(n)=O(nlog⁡23)T(n) = 3\,T(n/2) + O(n) = O\bigl(n^{\log_2 3}\bigr)

Karatsuba multiplication beats the schoolbook O(n²) by trading one multiplication for a few additions.

On this page

Projects that use it

Neighbourhood in the knowledge graph

Arbitrary-precision arithmeticNumber theory and algebraCryptography in CNumber Theory ExplorerBlock ciphersFinite fieldsCryptographic hash functionsMessage authentication codesRSAModular exponentiationPrimality testingEuclidean algorithmCryptography Performance AnalysisSolvatore
ProjectsConceptsDomainsShow in graph →