Question: PLEASE DO BOTH THESE IN JAVA ASAP 1) Implement the encryption function Do NOT use ANY string manipulation or arithmetic functions to implement your solution.
PLEASE DO BOTH THESE IN JAVA ASAP
1)
Implement the encryption function
Do NOT use ANY string manipulation or arithmetic functions to implement your solution.
Test that input 0xADE1 yields ciphertext (188, 153). You may hard-code these values for testing.
2)
Implement a decryption function FOR THE Cipher
Do NOT use ANY string manipulation or arithmetic functions to implement your solution.
Test that input (188, 153) yields plaintext 0xADE1. You may hard-code these values for testing.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
