Vigenère cipher is used with a key "XO" to encrypt a long English book, comprised of English alphabet letters and ignoring capitalization and other symbols. The key length is fixed, i.e., the key is 2 alphabets long. What is the number of possible distinct keys?
4 phương ánCó giải thích
Các phương án trả lời
Chọn một phương ánLời giảiChọn phương án để mở
Đáp án đúng: "676". Khoá Vigenère dài cố định 2 ký tự, mỗi ký tự là một trong 26 chữ cái tiếng Anh và được chọn độc lập, nên theo quy tắc nhân số khoá khác nhau là 26 × 26 = 26^2 = 676 (từ AA tới ZZ, trong đó XO chỉ là một khoá). Với khoá dài k thì số khoá là 26^k, tăng theo cấp số mũ. "26" là số khoá khi khoá dài 1, tương đương mã Caesar. "52" = 26 × 2, cộng số lựa chọn của hai vị trí thay vì nhân. "1352" = 676 × 2, nhân đôi không có cơ sở, như thể đếm thêm một biến thể cho mỗi khoá.
Cùng phần 2
An English book is encrypted using a monoalphabetic cipher. You realize that the letter "w" occurs the most frequently in the encrypted book. Based on this observation, what would you be your guess for the plaintext letter corresponding to the ciphertext letter w?Có lời giảiCâu hỏiYour friend proposes an update in the key and suggests a new key, k=523. How many cyclic shifts do you need to perform using the new key? You want to minimize the number of cyclic shifts on the letters.Có lời giảiCâu hỏiVigenère cipher is used with a key "XO" to encrypt a long English book. You order the letters appearing in the encrypted book in the decreasing order of frequency (i.e., from the most frequently appearing to the least frequently appearing), and the result is: RGZNFIBJWPESCXHTMYAUOLDKVQ. Which ciphertext letters correspond to the plaintext letter E (which is the most frequent letter in the plaintext)?Có lời giảiCâu hỏiCả 23 câu của chủ đề23 câu
Xuất hiện trong 1 bộ đề
Đi tiếp từ đây