mirror of
https://gogs.blitter.com/RLabs/cryptmt
synced 2026-06-22 21:36:01 +00:00
10 lines
282 B
Bash
Executable file
10 lines
282 B
Bash
Executable file
mode=${1:-"4"}
|
|
key=${2:-'23#SuperSecret!!!1ElEvEnTy11'}
|
|
|
|
head -n 3 Tux.ppm >Tux.header
|
|
tail -n +4 Tux.ppm >Tux.body
|
|
./cmd -k "${key}" <Tux.body >Tux.encbody
|
|
cat Tux.header Tux.encbody >Tux.enc.ppm
|
|
./cmd -k "${key}" <Tux.encbody >Tux.decbody
|
|
cat Tux.header Tux.decbody >Tux.dec.ppm
|
|
|