Skip to content

Commit

Permalink
Added Examples to the ronin-encrypt man-page (issue #161).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jun 8, 2023
1 parent 338d27a commit fdd2dac
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions man/ronin-encrypt.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,20 @@ Encrypts data.
`-h`, `--help`
Print help information.

## EXAMPLES

Encrypt a file using AES-256 (CBC mode) with a password:

$ ronin encrypt --cipher aes-256-cbc --password "..." file.txt > encrypted.bin

Encrypt a file using a raw key string:

$ ronin encrypt --cipher aes-256-cbc --key "12345abcdef..." file.txt > encrypted.bin

Encrypt a file using a raw key read from a file:

$ ronin encrypt --cipher aes-256-cbc --key-file key.bin file.txt > encrypted.bin

## AUTHOR

Postmodern <[email protected]>
Expand Down

0 comments on commit fdd2dac

Please sign in to comment.