Files
EmmanuelTiamzon 2b977bda34 update
2026-05-12 12:30:20 +02:00

23 lines
447 B
Markdown

# 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
```