Функция декодирования цезаря
This commit is contained in:
@@ -16,4 +16,6 @@ main = do
|
||||
let encryptedTextBits = textToBits encryptedText
|
||||
putStrLn $ concat (take 30 (map show encryptedTextBits))
|
||||
let encryptedTextFromBits = bitsToText encryptedTextBits
|
||||
putStrLn $ take 30 encryptedTextFromBits
|
||||
putStrLn $ take 30 encryptedTextFromBits
|
||||
let decryptedText = decryptCaesar alphabet caesarShift encryptedTextFromBits
|
||||
putStrLn $ take 30 decryptedText
|
||||
Reference in New Issue
Block a user