- checking randomly generated b + 2i number with 1. dividing by small prime numbers check, 2. fermat test, 3. miller rabin test
- left to right/ right to left binary
- utilizes extended GCD algorithm
- in process
- optimize miller rabin test(?)
- exchange symmetric key with RSA and do symmetric key encryption/decryption after that