NAME
ronin-encrypt - Encrypts data
SYNOPSIS
ronin encrypt [options] [FILE …]
DESCRIPTION
Encrypts data.
ARGUMENTS
- FILE
 - The optional file to read and encrypt. If no FILE arguments are given,
input will be read from 
stdin. 
OPTIONS
-k,--keySTRING- The raw key string for the cipher.
 -K,--key-fileFILE- Reads the key string from the file.
 -c,--cipherNAME- The cipher to encrypt with. See 
--list-ciphersfor a list of supported ciphers. Default toaes-256-cbcif not given. -P,--passwordPASSWORD- The password to encrypt with.
 -H,--hashmd5|sha1|sha256|sha512- The hash algorithm to use for the password. Default to 
sha256if not given. --ivSTRING- Sets the Initial Vector (IV) value of the cipher.
 --paddingNUM- Sets the padding size, in bytes, of the encryption cipher.
 -b,--block-sizeNUM- The size, in bytes, to read data in. Default to 
16384if not given. --list-ciphers- List the supported ciphers and exits.
 -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
Specifying a custom IV (initialization vector):
$ ronin encrypt --cipher aes-256-cbc --key "..." --iv "..." file.txt > encrypted.bin
AUTHOR
Postmodern postmodern.mod3@gmail.com