In transposition cipher, the plaintext is jumbled in a way to generate cipher text.
In monoalphabetic substitution cipher, each letter in plaintext is substituted with some other letter. In this one to one mapping is used. This means if 'a' is substituted by 'B' then in whole plaintext a will be substituted by 'B'.
In polyalphabetic substitution cipher, one letter can be replaced by more than one letter in different occurrences. For example: If at one occurrence 'a' is substituted by 'B' then at other occurrence 'a' may be substituted by 'C' in the ciphertext.
6.
a. Number of intrusions = Number of actual positives = 450+50 = 500
b. Number if times alarm is raised = Number of predicted positives = 450 + 40 = 490
c. Accuracy = Rightly classified / Total = (450 + 460) / 1000 = 910/1000 = 0.91 OR 91%.
d. Accuracy of second detector = (400 + 390) / 1000 = 790/1000 = 0.79 OR 79%
So, first detector performed better.
Hope this helps
If you have any doubt feel free to comment
Thank You!!
Alice has at her disposal 3 encryption algorithms, they are: a transposition cipher, a monoalphabetic substitution...