Skip to content

Commit

Permalink
docs(readme): secret example
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Jul 23, 2024
1 parent e792d3b commit 0b2903d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ Pseudonomyzation requires an RDF file, index and config as input:
tripsu pseudo --index index.nt --config rules.yaml input.nt > output.nt
```

>[!NOTE]
> By default, pseudonymization uses a random seed. To make the process deterministic, you may provide a secret.
```shell
echo "The quick brown fox jumps over the lazy dog" > secret.txt
tripsu pseudo -s secret.txt -x index.nt -c rules.yaml input.nt > output.nt
```

> [!TIP]
> For each subcommand, you can use `--help` to see all options.
Expand Down

0 comments on commit 0b2903d

Please sign in to comment.