update
This commit is contained in:
@@ -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
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user