mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-08 23:13:38 +08:00
Format help message
This commit is contained in:
@@ -35,20 +35,20 @@ static const char *help =
|
||||
"\n"
|
||||
"Examples\n"
|
||||
"\n"
|
||||
" KEY=`gmssl rand -outlen 16 -hex`\n"
|
||||
" gmssl sm4_cbc_mac -key $KEY -in_str abc\n"
|
||||
" KEY=`gmssl rand -outlen 16 -hex`\n"
|
||||
" gmssl sm4_cbc_mac -key $KEY -in_str abc\n"
|
||||
"\n"
|
||||
" gmssl sm4_cbc_mac -key $KEY -in_str abc -bin\n"
|
||||
" gmssl sm4_cbc_mac -key $KEY -in_str abc -bin\n"
|
||||
"\n"
|
||||
" gmssl sm4_cbc_mac -key $KEY -in /path/to/file\n"
|
||||
" gmssl sm4_cbc_mac -key $KEY -in /path/to/file\n"
|
||||
"\n"
|
||||
" When reading from stdin, make sure the trailing newline character is removed\n"
|
||||
" When reading from stdin, make sure the trailing newline character is removed\n"
|
||||
"\n"
|
||||
" Linux/Mac:\n"
|
||||
" echo -n abc | gmssl sm4_cbc_mac -key $KEY\n"
|
||||
" Linux/Mac:\n"
|
||||
" echo -n abc | gmssl sm4_cbc_mac -key $KEY\n"
|
||||
"\n"
|
||||
" Windows:\n"
|
||||
" echo |set/p=\"abc\" | gmssl sm4_cbc_mac -key 11223344556677881122334455667788\n"
|
||||
" Windows:\n"
|
||||
" echo |set/p=\"abc\" | gmssl sm4_cbc_mac -key 11223344556677881122334455667788\n"
|
||||
"\n";
|
||||
|
||||
int sm4_cbc_mac_main(int argc, char **argv)
|
||||
|
||||
Reference in New Issue
Block a user