diff options
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/README.org b/README.org new file mode 100644 index 0000000..a7b5819 --- /dev/null +++ b/README.org | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | #+title: File processing in Haskell | ||
| 2 | #+subtitle: Steganography | ||
| 3 | #+date: 2024H2 | ||
| 4 | |||
| 5 | * Task | ||
| 6 | :PROPERTIES: | ||
| 7 | :CUSTOM_ID: task | ||
| 8 | :END: | ||
| 9 | Create a project in stack. Write all pure functions to the library | ||
| 10 | =Lib.hs= and restrict access to auxiliary functions. Use do notation to | ||
| 11 | work with external files. Find a portrait of Pauli Wolfgang. Convert | ||
| 12 | the image to the =.bmp= format (24‑bit). Save to a file in the =.txt= | ||
| 13 | format: a fragment of his biography (at least 1000 characters without | ||
| 14 | spaces; the text should not end in the middle of a word or sentence). | ||
| 15 | Encode the text into an image using the Caesar cipher (the shift is | ||
| 16 | specified by the user). The key to the cipher is written in the file | ||
| 17 | name. Write a function that decodes the text from the image using the | ||
| 18 | key from the file name and saves the result to a separate text file. | ||
| 19 | Create functions that encrypt the text in the last bit of each byte, | ||
| 20 | the last two bits of each byte, …, all the bits in a byte. Provide | ||
| 21 | examples of image distortions in the report. | ||
| 22 | |||
| 23 | * Documentation | ||
| 24 | :PROPERTIES: | ||
| 25 | :CUSTOM_ID: documentation | ||
| 26 | :END: | ||
| 27 | The exported report can be found at [[https://git.michalec.dev/files/uni/term-05/func-prog/lab-03/report.pdf][this link]]. | ||
| 28 | |||
| 29 | * Unlicense | ||
| 30 | :PROPERTIES: | ||
| 31 | :CUSTOM_ID: unlicense | ||
| 32 | :END: | ||
| 33 | #+include: UNLICENSE verse | ||
