.\" Generated by kramdown-man 0.1.8 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-encrypt 1 "May 2022" Ronin "User Manuals" .LP .SH SYNOPSIS .LP .HP \fBronin encrypt\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB] .LP .SH DESCRIPTION .LP .PP Encrypts data\. .LP .SH ARGUMENTS .LP .TP \fIFILE\fP The optional file to read and encrypt\. If no \fIFILE\fP arguments are given, input will be read from \fBstdin\fR\. .LP .SH OPTIONS .LP .TP \fB-k\fR, \fB--key\fR \fISTRING\fP The raw key string for the cipher\. .LP .TP \fB-K\fR, \fB--key-file\fR \fIFILE\fP Reads the key string from the file\. .LP .TP \fB-c\fR, \fB--cipher\fR \fINAME\fP The cipher to encrypt with\. See \fB--list-ciphers\fR for a list of supported ciphers\. Default to \fBaes-256-cbc\fR if not given\. .LP .TP \fB-P\fR, \fB--password\fR \fIPASSWORD\fP The password to encrypt with\. .LP .TP \fB-H\fR, \fB--hash\fR \fBmd5\fR\[or]\fBsha1\fR\[or]\fBsha256\fR\[or]\fBsha512\fR The hash algorithm to use for the password\. Default to \fBsha256\fR if not given\. .LP .TP \fB--iv\fR \fISTRING\fP Sets the Initial Vector (IV) value of the cipher\. .LP .TP \fB--padding\fR \fINUM\fP Sets the padding size, in bytes, of the encryption cipher\. .LP .TP \fB-b\fR, \fB--block-size\fR \fINUM\fP The size, in bytes, to read data in\. Default to \fB16384\fR if not given\. .LP .TP \fB--list-ciphers\fR List the supported ciphers and exits\. .LP .TP \fB-h\fR, \fB--help\fR Print help information\. .LP .SH AUTHOR .LP .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .LP .SH SEE ALSO .LP .PP ronin\-decrypt(1)