Encode /Insertion

Joined
Nov 22, 2023
Messages
16
Reaction score
0
Also this one, I don't how to do in Blue J, I provided the example below
Method 2: Insertion - Encode.

You are required to use your name, for example, "chan tai man", as an encryption key. Insert characters from your name with space into the plaintext alternately. For example, if the plaintext is "apple", the ciphertext will be " acphpalne". If the plaintext is so long that it uses all the characters from your name, please repeat your name from the first character, and return the ciphertext as result.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top