This commit is contained in:
EmmanuelTiamzon
2026-05-12 12:30:20 +02:00
parent d66467a7f6
commit 2b977bda34
5 changed files with 1869 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# TP1
## Ex1
1. Avec convert ou magick ou magick convert on fait :
```shell
magick Tux.xvg Tux.ppm
```
2. avec la commande head je prends les 3 premières lignes de Tux.ppm et les redirige vers header.txt
```shell
head -n 3 Tux.ppm >> header.txt
```
3. Mettre tout le fichier ppm sauf les 3 premières lignes dans un fichier body.bin
```shell
tail +3 Tux.ppm >> body.bin
```
4. Chiffrer avec openssl en AES-ECB le fichier .bin
```shell
```
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 49 KiB

File diff suppressed because one or more lines are too long
+3
View File
@@ -0,0 +1,3 @@
P6
216 256
65535