Question about Computers & Internet

# Plz provide solution for hill cipher in c++ - Computers & Internet

Posted by on

• fefef May 11, 2010

It is kinda hard for anyone, to predict your exact approach into writing a program to either encrypt or decrypt. Even if they are familiar with the cipher.

Therefore, in order for you to get better suggestions I guess it would be compulsory for you to first take the time in
explaining the approach by which you wish to achieve your goal. And
also provide some code that you have already implemented. When that
would be done, It would be easier for everyone to then Understand your approach and might lead into helping you to get the solution.

AS Far as HILL Cipher goes.

Basically You must teach the computer Matrix Multiplication.
Considering that you are using a 2x2 Matrix as a key, I guess it would be quite easy to do so.

Now when you are either Encrypting or Decrypting . Make sure that you
use 2 letters(1x2) letter matrix To make multiplication possible.

You could use an Enumeration to make symbolic constants representing each letter and the value for that letter.(This approach would require you to use a tokenizer .) int matrix [2][2]; int determinant = ((matrix[0][0])*(matrix[1][1])) - ( (-matrix[0][1])) *(-matrix[1][0]))

×

## 3 Suggested Answers

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

1: Remove you memory card from cell phone.
2: Insert you memory card into cell phone.
3: Restart you cell phone

Posted on Nov 06, 2009

Ciphering is mainly caused due to old sim cards,remove your sim and reinsert it.If the problem still persists,go to the customer care center of the operator and ask for new sim with the same number ,you would probably get this for free .Insert the new sim and see to it that the problem is gone now

Posted on Feb 17, 2010

×

my-video-file.mp4

Complete. Click "Add" to insert your video.

×

## Related Questions:

### How do i enter my code in roku

Encrypt the message "meet me at the usual place at ten rather than eight oclock" using the Hill cipher

Oct 24, 2010 | NetGear Computers & Internet

### FATAL ERROR: Unable to access USER Directory

Encrypt the message "meet me at the usual place at ten rather than eight oclock" using the Hill cipher

Sep 20, 2010 | Hummingbird Exceed 9 (exmpi550305m0900u)...

### Ciphering

Ciphering is mainly caused due to old sim cards.There are two ways in which youo can solve this
1)Remove your sim and insert it again and see if the problem persists
2)Go to the customer care center of operator that provided you with sim card and demand for a new sim with the same number.You'll get this for free and insert it and enjoy.

Feb 06, 2010 | Sony Ericsson W550i Cellular Phone

### Ciphering not provided by operator insecure transmission

Ciphering is mainly caused due to old sim cards,remove your sim and reinsert it.If the problem still persists,go to the customer care center of the operator and ask for new sim with the same number ,you would probably get this for free .Insert the new sim and see to it that the problem is gone now

Jan 13, 2010 | Sony Ericsson W800i Cellular Phone

### Ciphering is not provided by the operator,Insecure

There are two things that you can try and one of this definetely works out ,and the main reason beehind ciphering is old sim cards .
1) Try removing your sim and inserting it again ,check if the problem is resolved.
2)If the problem still persists, go to the customer care center of your operator and demand for a new sim in place of your old sim ,you should get it for free.

Nov 06, 2009 | Sony Ericsson W200i Cellular Phone

### Ciphering is not provided by operator insecure operation

Ciphering is mainly caused due to old sim cards,remove your sim and reinsert it.If the problem still persists,go to the customer care center of the operator and ask for new sim with the same number ,you would probably get this for free .Insert the new sim and see to it that the problem is gone now

Sep 30, 2009 | Sony Ericsson W910i Cellular Phone

### "ciphering not provided by the operator insecure transmission"

1: Remove you memory card from cell phone.
2: Insert you memory card into cell phone.
3: Restart you cell phone

Aug 25, 2009 | Sony Ericsson W910i Cellular Phone

### Ciphering

Receive photos through blackberry curve,on my whatssapp account

Jul 11, 2009 | Sony Ericsson K530i Cellular Phone

### ''cipering not provided by operator.insecure connection.''on W700i

Ciphering is mainly caused due to old sim cards,remove your sim and reinsert it.If the problem still persists,go to the customer care center of the operator and ask for new sim with the same number ,you would probably get this for free .Insert the new sim and see to it that the problem is gone now

May 31, 2009 | Sony Ericsson W550i Cellular Phone

## Open Questions:

#### Related Topics:

797 people viewed this question

## Ask a Question

Usually answered in minutes!

Level 3 Expert

Level 3 Expert