Relations of Classes:  # # CLASS RSA: ## **Attributes:** - +p : int //1. prime - +q : int //2. prime - #PublicKey : int - #PrivateKey : int - #Word : int //plaintext - +errMessage : string // if something goes wrong ## **Behaviors:** - +Constructor : (p,q,PublicKey,Word) - #isPrime(int p) : int - #GCD(int a, int b) : int - #ExtendedEuclid(int e, int d) : int - +ToBinary(int a) : int[] //Modular Arithmetic for big powers - +Respond(int Key, int p, int q, int Word) : int - +RSAOutput(): abstract int # **# CLASS ENCRYPT:** ## **Attributes:** - **Behaviors:** - +Constructor : (p,q,PublicKey,Word) - + RSAOutput : override int # **# CLASS DECRYPT:** **Attributes:** - ## **Behaviors:** - +Constructor : (p,q,PublicKey,Word) - + RSAOutput : override int
Relations of Classes:

# CLASS RSA:
Attributes:
Behaviors:
# CLASS ENCRYPT:
Attributes:
Behaviors:
# CLASS DECRYPT:
Attributes:
Behaviors: