Skip to content

Commit

Permalink
add example on using ZYPHER_KEY env
Browse files Browse the repository at this point in the history
  • Loading branch information
vtno committed May 14, 2023
1 parent 0ee2c90 commit a16a528
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,9 @@ zypher decrypt -k <AES-KEY> -f input.txt.enc -o input.txt
# this works too!
zypher encrypt -k <AES-KEY> -f input.txt > input.txt.enc
zypher decrypt -k <AES-KEY> -f input.txt.enc > input.txt

# the key can also be set as ZYPHER_KEY env
export ZYPHER_KEY=<AES-KEY>
zypher encrypt -f input.txt > input.txt.enc
zypher decrypt -f input.txt.enc > input.txt
```

0 comments on commit a16a528

Please sign in to comment.