aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJ08nY2017-02-15 20:22:36 +0100
committerJ08nY2017-02-15 20:22:36 +0100
commit69bfdc6a4584a22dac7525f38c8ac013f05417b6 (patch)
tree0c2054bdf9846419aa0f301dd3a7b60b3c0bf142 /README.md
parent8863bda8116a540134eb6715fc91294c5938d400 (diff)
downloadecgen-69bfdc6a4584a22dac7525f38c8ac013f05417b6.tar.gz
ecgen-69bfdc6a4584a22dac7525f38c8ac013f05417b6.tar.zst
ecgen-69bfdc6a4584a22dac7525f38c8ac013f05417b6.zip
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index b7ea2f1..a448e7e 100644
--- a/README.md
+++ b/README.md
@@ -15,8 +15,10 @@ Tool for generating Elliptic curve domain parameters.
- `-n/--order=ORDER` requests the curve to have a (prime) order `ORDER`.
- `-i/--invalid` requests that invalid curves of small prime orders be generated.
<br/><br/>
- - `-o/--output=FILE` writes output to `FILE`.
+ - `-v/--verbose=[FILE]` turns on verbose output (to file).
+ - `-t/--format=[FORMAT]` sets format to output in. One of \[csv,json\], default is json.
- `-f/--input=FILE` reads input from `FILE`.
+ - `-o/--output=FILE` writes output to `FILE`.
- `-a/--append` appends to output file (doesn't overwrite it).
<br/><br/>
- `-d/--datadir=DIR` specifies the PARI/GP datadir containing the `seadata` package.
@@ -29,6 +31,9 @@ Three different EC curve parameters generation methods are implemented.
- randomly
- using ANSI X9.62 verifiably random method(from seed), until a curve with requested properties appears.
- given input
+ - Can generate curves repeatedly until one satisfies requested properties:
+ - `-p/--prime` generates curves until a prime order curve is found.
+ - `-k/--koblitz` generates a curve with fixed *A = 0* parameter.
##### Invalid curve generation
- Generates *invalid* curves for a given curve.