A Bit of RSA and PowerShell, And The Wonder of dP, dQ and InvQ
Published in
3 min readJun 27, 2022
In RSA, we would hope that many in cybersecurity would know that we generate two prime numbers (p and q), and then compute the modulus:
Then we pick an e value, and compute d from:
and where:
This gives us a private key of (d,N) and a public key of (e,N). We can then encrypt with: