readme

来自「aesutil是一个小型的库和命令行程序」· 代码 · 共 49 行

TXT
49
字号
This is a small library and a command line program to encrypt/decrypt data using the Rijndael encryption algorythm in cbc mode.The Utility should run at least under Linux, Mac OS X and Windows. Other Uniceshave not been tested, reports are welcome.Most of the code is taken from Brian Gladman's windows implementationthat can be found athttp://fp.gladman.plus.com/cryptography_technology/rijndael/index.htmMarkus Lagler added a wrapper library to encode/decode from/to memoryinstead of files.Tim Tassonis did some minor UNIX porting stuff and added the commandline program.The getopts ist taken from Steve Merz:http://www.dragon-ware.com/~steve/getoptsUsage of the command line program:Usage: ./aes [options]  --help,       -h                      Displays this information  --encrypt,    -e                      Encrypt the data  --decrypt,    -d                      Decrypt the data  --base64,     -b                      base64 encode/decode encrypted data  --password,   -p <args>               Password (if omitted, will prompt)  --string,     -s <args>               Input String (if omitted, stdin)  --file,       -f <args>               Input File (if ommitted, stdin)  --count,      -c <args>               Number of input bytes to read  --out         -o <args>               Outputfile instead of stdoutEither -d or -e always has to be specified, there is no defaultWith -e, -b will encode the resulting data in base64, when used with -dit will treat the input as base64 encoded.Bug reports/Comments: timtas@dplanet.ch

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?