$ openssl enc -aes-256-cbc -pbkdf2 -iter 10000 -in data.txt -out encrypted.txt
$ echo "data" | openssl enc -aes-256-cbc -pbkdf2 -iter 10000 > encrypted.txt
$ openssl enc -aes-256-cbc -pbkdf2 -iter 10000 -in data.txt -out encrypted.txt -pass file:PASSWORD_FILE
$ openssl enc -d -aes-256-cbc -pbkdf2 -iter 10000 -in encrypted.txt
function unlock_key -a saltfile -d "Read the password, apply the salt, hash it"
cat (read --silent --prompt-str="password> " | psub --fifo) $saltfile \
| sha256sum \
| head -c 64
end
function fetch_url -d "Fetch a file by masked url"
curl -s (read --silent --prompt-str="url> ")
end