Question: give c + + code In Nico Cipher, encoding is done by creating a numeric key and assigning each letter position of the message with

give c++ code
In Nico Cipher, encoding is done by creating a numeric key and assigning each letter position of the message with the provided key.
Create a function that takes two arguments, key anc and returns the encoded message.
There are some variations on the rules of encipherment. One version of the cipher rules are outlined below:Step 1: Assign numbers to sorted letters from the key:
crazy =23154
Step 2: Assign numbers to the letters of the given message:
2,3,1,5,4
--,-,-,-,-
m,u,b,a,s
h,i,r,h,a
s,s,a,n
Step 3: Sort columns as per assigned numbers:Step 4: Return encoded message Rows-wise:eMessage = "bmusarhiahass n"
Examples
give c + + code In Nico Cipher, encoding is done

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!