about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorArun Isaac2025-09-01 17:03:22 +0100
committerArun Isaac2025-09-01 17:03:22 +0100
commitb300727c1881a591a24f39a3730810f93bd43245 (patch)
tree0bd95af113d47cb7d3460b4a56c784d54e089b99 /README.md
parente252fca465f34e7672d7fdd2ce32d7eeef3e59f7 (diff)
downloadpyhegp-b300727c1881a591a24f39a3730810f93bd43245.tar.gz
pyhegp-b300727c1881a591a24f39a3730810f93bd43245.tar.lz
pyhegp-b300727c1881a591a24f39a3730810f93bd43245.zip
Do not require output ciphertext file path.
Make output ciphertext file path implicit; infer it by appending
".hegp" to the plaintext file. We take inspiration from GnuPG.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 81c153c..ee7057f 100644
--- a/README.md
+++ b/README.md
@@ -65,9 +65,9 @@ pyhegp --help
 
 In this simple scenario, there is only one data owner and they wish to share their encrypted data with a researcher. The data owner encrypts their data with:
 ```
-pyhegp encrypt -o encrypted-genotype.tsv genotype.tsv
+pyhegp encrypt genotype.tsv
 ```
-They then send the encrypted data to the researcher. Note that data sharing is carried out-of-band and is outside the scope of `pyhegp`.
+They then send the encrypted data `genotype.tsv.hegp` to the researcher. Note that data sharing is carried out-of-band and is outside the scope of `pyhegp`.
 
 ## Joint/federated analysis with many data owners
 
@@ -83,11 +83,11 @@ pyhegp pool -o complete-summary summary1 summary2 ...
 ```
 The data broker shares these summary statistics with the data owners. The data owners standardize their data using these summary statistics, and encrypt their data using a random key.
 ```
-pyhegp encrypt -s complete-summary -o encrypted-genotype.tsv genotype.tsv
+pyhegp encrypt -s complete-summary genotype.tsv
 ```
-Finally, the data owners share the encrypted data with the broker who concatenates it and shares it with all parties.
+Finally, the data owners share the encrypted data `genotype.tsv.hegp` with the broker who concatenates it and shares it with all parties.
 ```
-pyhegp cat -o complete-encrypted-genotype.tsv encrypted-genotype1.tsv encrypted-genotype2.tsv ...
+pyhegp cat -o complete-genotype.tsv.hegp genotype1.tsv.hegp genotype2.tsv.hegp ...
 ```
 Note that all data sharing is carried out-of-band and is outside the scope of `pyhegp`.