Question: Can you do this java question using my previous questions 152 Chapter 4 String Land D4.3.b The Cipher Model The designer's API requires a field
152 Chapter 4 String Land D4.3.b The Cipher Model The designer's API requires a field and a constructor that takes a key. This immedia us that we must have two attribures in the clas: DOING private String key; public static final String ALPHABET ABCDEFGHIJKLMNOPORSTUVWXYZ The constructor should simply set the key attribute. We will not do validation in this but will return to this point in the exercises. Both the size of the plaintext. It therefore makes sense (to avoid code redundancy) to the encrypt and decrypt methods need to create a pad based on the work in a private method: private String makePad(String note) String pad this.key; for (: pad. lengthO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
