On this pageProjects that use itRelated conceptsNeighbourhood in the knowledge graphProjects that use itInteractiveCryptographyCryptography in CReadable C11 implementations of AES (CBC with PKCS#7, CMAC), SHA-256, HMAC-SHA-256, big integers with Montgomery exponentiation and RSA (key generation, CRT with blinding, PKCS#1 v1.5 signatures, OAEP encryption, textbook RSA on decimal strings, PEM export), checked against the standards, Python and OpenSSL.CRelated conceptsArbitrary-precision arithmeticUsed together · 1 sharedInteger arithmetic on numbers larger than a machine word, as needed for RSA.Block ciphersUsed together · 1 sharedKeyed permutations of fixed-size blocks, such as AES, used through modes of operation like CBC.Euclidean algorithmUsed together · 1 sharedComputes gcd(a, b) by repeated division; the extended version also finds Bezout coefficients.Cryptographic hash functionsUsed together · 1 sharedCompress messages to fixed-size digests; SHA-256 uses the Merkle-Damgard construction.Message authentication codesUsed together · 1 sharedHMAC and CMAC, keyed tags that detect tampering.Modular exponentiationUsed together · 1 sharedComputes a^b mod m with O(log b) multiplications by repeated squaring.Primality testingUsed together · 1 sharedDeciding whether n is prime, by trial division or probabilistic tests such as Miller-Rabin.RSAUsed together · 1 sharedPublic-key encryption and signatures whose security rests on the difficulty of factoring n = pq.Complex numbersSame domainNumbers a + bi and the geometry of the complex plane.Modular arithmeticSame domainArithmetic on remainders, including congruences, modular inverses and Fermat's little theorem.Prime sievesSame domainThe sieve of Eratosthenes and its segmented variant for listing primes.Euler's totient functionSame domainphi(n) counts the integers from 1 to n that are coprime to n.Arithmetic functionsSame domainFunctions on the positive integers, such as the divisor function and sums over divisors.Linear recurrencesSame domainSequences such as Fibonacci defined by linear rules, computed quickly by matrix exponentiation.Neighbourhood in the knowledge graphFinite fieldsFinite fieldsFinite fieldsNumber theory and algebraNumber theory and algebraNumber theory …Cryptography in CCryptography in CCryptography i…Number Theory ExplorerNumber Theory ExplorerNumber Theory …Block ciphersBlock ciphersBlock ciphersCryptographic hash functionsCryptographic hash functi…Cryptographic …Message authentication codesMessage authentication co…Message authen…RSARSARSAModular exponentiationModular exponentiationModular expone…Primality testingPrimality testingPrimality test…Arbitrary-precision arithmeticArbitrary-precision arith…Arbitrary-prec…Euclidean algorithmEuclidean algorithmEuclidean algo…Cryptography Performance AnalysisCryptography Performance …Cryptography P…SolvatoreSolvatoreSolvatoreProjectsConceptsDomainsShow in graph →Number theory and algebraConceptConcept