Tulisiaq qarseq nassiunneqarsimasoq openssl-i tusarnaani ilinniarneqarnermik, taaneqarsinnaavara sisamanngornera .enc ilinniarfeqarluni
Tukkiaat qarasaallutik, taama qarasaallutik nukappiaraq, ullormiut ornitusinni openssl-at kingorna, ullormiut .enc ipilerineqarsinnaavoq:

```bash
#!/bin/bash
 
# Imaqoq, filename kingusinnermut tunngaviusut
if [ $# -eq 0 ]; then
  echo "Imaqoq: encrypt.sh [filename]"
  exit 1
fi
 
# Filename kingusinnermut tunngaviusut
filename=$1
 
# Ullormiut nukappiaraq
openssl aes-256-cbc -salt -in "${filename}" -out "${filename}.enc"
```

Encrypt.sh-mut qarasaallutik, executable-ikku chancellorilluunni command-imi `chmod +x encrypt.sh`. Qarasaallutik, filename ullormiut nukappiaraq, argument-imi ikajuvoq. Ulloriaq:

```bash
./encrypt.sh myfile.txt
```

Myfile.txt ullormiut, aes-256-cbc cipher-mi, salt-imi, nukappiarneq, myfile.txt.enc ikaikeqarpoq.