aboutsummaryrefslogtreecommitdiff
path: root/vector
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2019-03-23 10:51:05 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2019-03-23 10:51:05 +0300
commitf1a80870c7a85f891b6671444d6e5d83750a11c3 (patch)
treeb07f2dd86bce5a8adf2acecad3db8bc98ad88c6e /vector
parenteb859f8df6013c673e570799c73da0057848a06c (diff)
Updated readme file.
Diffstat (limited to 'vector')
-rw-r--r--vector/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/vector/README.md b/vector/README.md
index 1d3602b..3bd1853 100644
--- a/vector/README.md
+++ b/vector/README.md
@@ -4,7 +4,7 @@ ModExpNG
Ranzomized test vector generation scripts for ModExpNG core model.
* `vector_regenerate.py` generates a new random RSA keypair using OpenSSL. Each invocation overwrites the keypair, the old one is not retained. **Never use the generated keypair for anything outside of this model!**
- * `vector_format.py` processes the previously generated keypair. It first generates a "random" demo message to be signed, signs the message and checks the signature using Python's built-in math. If everything goes well, it writes the formatted test vector to a file.
+ * `vector_format.py` processes the previously generated keypair. It first generates a "random" demo message to be signed and a "random" blinding factor, signs the message and checks the signature using Python's built-in math. If everything goes well, it writes the formatted test vector to a file.
* `vector_util.py` is a helper module.
-To obtain a test vector, optionally edit _KEY_LENGTH_ in `vector_regenerate.py` to set desired key length, then run the script to generate randomized key file. Then optionally edit _KEY_LENGTH_ in `vector_format.py` to match key length and change _RND_SEED_ to get a different demo message and run the script to obtain randomized test vector module.
+To obtain a test vector, optionally edit _KEY_LENGTH_ in `vector_regenerate.py` to set desired key length, then run the script to generate randomized key file. Then optionally edit _KEY_LENGTH_ in `vector_format.py` to match key length and change _RND_SEED_MESSAGE_ to get a different demo message and _RND_SEED_BLINDING_ to get a different blinding factor. Finally run the script to obtain randomized test vector module.