Security, Encryption, Cryptography, Computer Science.
This is Alice’s private key. Bob does the same and generates his own private key, let’s call it b. Alice takes a, g, n and calculates another number A such that: Alice’s public key Here, mod is the modulus operator, which is the remainder of division. For example, 24 mod 7 = 3, 25 mod 6 = 1, 18 mod