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
|
||||||
|
|
||||||
|
```
|
||||||
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
@@ -0,0 +1,3 @@
|
|||||||
|
P6
|
||||||
|
216 256
|
||||||
|
65535
|
||||||
Reference in New Issue
Block a user