From a4aafb5caea268dae350bdaa6a9c53b65b00910e Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Sun, 8 Nov 2026 07:19:33 +0300 Subject: publish --- README.org | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.org (limited to 'README.org') diff --git a/README.org b/README.org new file mode 100644 index 0000000..a7b5819 --- /dev/null +++ b/README.org @@ -0,0 +1,33 @@ +#+title: File processing in Haskell +#+subtitle: Steganography +#+date: 2024H2 + +* Task +:PROPERTIES: +:CUSTOM_ID: task +:END: +Create a project in stack. Write all pure functions to the library +=Lib.hs= and restrict access to auxiliary functions. Use do notation to +work with external files. Find a portrait of Pauli Wolfgang. Convert +the image to the =.bmp= format (24‑bit). Save to a file in the =.txt= +format: a fragment of his biography (at least 1000 characters without +spaces; the text should not end in the middle of a word or sentence). +Encode the text into an image using the Caesar cipher (the shift is +specified by the user). The key to the cipher is written in the file +name. Write a function that decodes the text from the image using the +key from the file name and saves the result to a separate text file. +Create functions that encrypt the text in the last bit of each byte, +the last two bits of each byte, …, all the bits in a byte. Provide +examples of image distortions in the report. + +* Documentation +:PROPERTIES: +:CUSTOM_ID: documentation +:END: +The exported report can be found at [[https://git.michalec.dev/files/uni/term-05/func-prog/lab-03/report.pdf][this link]]. + +* Unlicense +:PROPERTIES: +:CUSTOM_ID: unlicense +:END: +#+include: UNLICENSE verse -- cgit v1.3.1