Skip to content

f_Encrypt

rasberry edited this page Jan 11, 2024 · 1 revision

Encrypt

Usage

 Encrypt or Decrypts the pixels of an image
 Note: (text) is escaped using RegEx syntax so that passing binary data is possible. Also see -raw option
 -d                           Enable decryption (default is to encrypt)
 -p (text)                    Password used to encrypt / decrypt image
 -pi                          Ask for the password on the command prompt (instead of -p)
 -raw                         Treat password text as a raw string (shell escaping still applies)
 -iv (text)                   Initialization Vector - must be exactly 16 bytes
 -test                        Print out any specified (text) inputs as hex and exit

Examples

toes zebra
-p 1234 Encrypt-toes-1 Encrypt-zebra-1
-d -p 1234 Encrypt-toes-2 Encrypt-zebra-2