OpenSSL encode/decode a file
mouse 1300 · person cloud · link
Last update
2018-11-16
2018
11-16
« — »
1
2
3
4
5
6
7
8
9
10
man enc # manpage

openssl enc
  -aes-256-cbc        # cipher
  -pass 'pass:mypass' # or "file:path"
  -S A03F52CC         # seed in hex
  -iter 123           # pass iterations
  -p                  # print input values
  -e                  # encode, "-d" to decode
  -in in.ext -out out.bin

Source: Stackoverflow