Из битов в текст
This commit is contained in:
@@ -13,4 +13,7 @@ main = do
|
||||
putStrLn $ show (length alphabet)
|
||||
let encryptedText = encryptCaesar alphabet caesarShift inputText
|
||||
putStrLn $ take 30 encryptedText
|
||||
putStrLn $ concat (take 30 (map show (textToBits encryptedText)))
|
||||
let encryptedTextBits = textToBits encryptedText
|
||||
putStrLn $ concat (take 30 (map show encryptedTextBits))
|
||||
let encryptedTextFromBits = bitsToText encryptedTextBits
|
||||
putStrLn $ take 30 encryptedTextFromBits
|
||||
Reference in New Issue
Block a user