Skip to content

Commit

Permalink
Misprint in the texts!
Browse files Browse the repository at this point in the history
  • Loading branch information
jar0l committed Jun 29, 2018
1 parent d716d94 commit b36a900
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9149,17 +9149,17 @@ private static void ShowExamples (string mode)
(
"\n\n {f:6}<ECIES>\n" +
"\n {f:14}Key pair generation:{f:7}\n\n" +
"\tcrypto {t:15}-m ecies -g -b public.key -v private.key{t:0}\n" +
"\tcrypto {t:15}-m ecies -g -b public.key -v private.key --curve prime256v{t:0}\n" +
"\tcrypto {t:15}-m ecies -g -b public.key -v private.key --curve-store x962 " +
"--curve prime256v1{t:0}\n" +
"\n {f:14}Encryption:{f:7}\n\n" +
"\tcrypto {t:15}-o file.ies -m ecies -b public.key -v private.key -e file.bin{t:0}\n" +
"\tcrypto {t:15}-o file.ies -m ecies -b public.key -v private.key -h sha1 " +
"--ies-cipher rijndael -y 128 -l 128 -e file.bin{t:0}\n" +
"\n {f:14}Decryption:{f:7}\n\n" +
"\tcrypto {t:15}-o file.bin -m ecies -b public.key -v private.key -e file.ies{t:0}\n" +
"\tcrypto {t:15}-o file.bin -m ecies -b public.key -v private.key -d file.ies{t:0}\n" +
"\tcrypto {t:15}-o file.bin -m ecies -b public.key -v private.key -h sha1 " +
"--ies-cipher rijndael -y 128 -l 128 -e file.ies{t:0}\n"
"--ies-cipher rijndael -y 128 -l 128 -d file.ies{t:0}\n"
);
break;

Expand All @@ -9175,9 +9175,9 @@ private static void ShowExamples (string mode)
"\tcrypto {t:15}-o file.ies -m dlies -b public.key -v private.key -h sha1 " +
"--ies-cipher rijndael -y 128 -l 128 -e file.bin{t:0}\n" +
"\n {f:14}Decryption:{f:7}\n\n" +
"\tcrypto {t:15}-o file.bin -m dlies -b public.key -v private.key -e file.ies{t:0}\n" +
"\tcrypto {t:15}-o file.bin -m dlies -b public.key -v private.key -d file.ies{t:0}\n" +
"\tcrypto {t:15}-o file.bin -m dlies -b public.key -v private.key -h sha1 " +
"--ies-cipher rijndael -y 128 -l 128 -e file.ies{t:0}\n"
"--ies-cipher rijndael -y 128 -l 128 -d file.ies{t:0}\n"
);
break;

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ For files that are too large, it's recommended to increase the maximum buffer si
# Options:

-m --mode Algorithm mode. You can use the help combined with this
modifier to list the available modes.
modifier to list the available modes.

-e --enc Encrypt or encode operation indicator.
-d --dec Decrypt or decode operation indicator.
Expand Down Expand Up @@ -1878,9 +1878,9 @@ List of available curves.

Key pair generation:

crypto -m ecies -g -b public.key -v private.key
crypto -m ecies -g -b public.key -v private.key --curve-store
x962 --curve prime256v1
crypto -m ecies -g -b public.key -v private.key --curve prime256v1
crypto -m ecies -g -b public.key -v private.key --curve-store x962
--curve prime256v1


Encryption:
Expand All @@ -1894,11 +1894,11 @@ List of available curves.

Decryption:

crypto -o file.bin -m ecies -b public.key -v private.key -e
crypto -o file.bin -m ecies -b public.key -v private.key -d
file.ies

crypto -o file.bin -m ecies -b public.key -v private.key -h
sha1 --ies-cipher rijndael -y 128 -l 128 -e file.ies
sha1 --ies-cipher rijndael -y 128 -l 128 -d file.ies

**DLIES**

Expand All @@ -1920,11 +1920,11 @@ List of available curves.

Decryption:

crypto -o file.bin -m dlies -b public.key -v private.key -e
crypto -o file.bin -m dlies -b public.key -v private.key -d
file.ies

crypto -o file.bin -m dlies -b public.key -v private.key -h
sha1 --ies-cipher rijndael -y 128 -l 128 -e file.ies
sha1 --ies-cipher rijndael -y 128 -l 128 -d file.ies

**RSA**

Expand Down

0 comments on commit b36a900

Please sign in to comment.