Question: It turns out that the different algorithms use different length encryption keys. Suppose we pick the algorithm based on the key length: If the key
It turns out that the different algorithms use different length encryption keys. Suppose we pick the algorithm based on the key length: If the key is 128 bits, use DES-128. If it is 96 bits, use Diffie-Hellman. If it is 192 bits, use RSA. Assume that the EncKey class has a length() method that returns the number of bits in the key.
Name the (creation) pattern, and implement this capability, include UML diagram.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
