-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sdk): add collections for nanotdf (#1695)
Adds in Datasets for NanoTDF. If dataset store is enabled in SDK, nanoTDF headers will be saved with their unwrapped key, so future nanoTDFs can be decrypted without extra rewrap calls. NanoTDFs will be able to be written in a dataset in the NanoTDFConfig, allowing for flexible usage of datasets. #### Example Local Run To run a quick example collection locally. This will write two collections with 50 nTDFs with the plaintext being changed to `<i>: <plaintext>`. Decrypt will decrypt the two collections and will only do two unwrap calls rather than 100 for each nTDF. ``` mkdir collection go run ./examples encrypt "Collection A" --nano -c 50 -o collection/collection_a.ntdf go run ./examples encrypt "Collection B" --nano -c 50 -o collection/collection_b.ntdf go run ./examples decrypt collection ```
- Loading branch information
1 parent
94a38fb
commit 6497bf3
Showing
23 changed files
with
554 additions
and
348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.