-
Notifications
You must be signed in to change notification settings - Fork 125
Add Tutorials 6. Store Encrypted Data
and 7. Fetch Encrypted Data
#294
Conversation
- show simpple way of encrypting data before sending it to the Tangle
- show how to decrypt data from Tutorial 6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM w/ minor suggestions/questions.
my_address = AddressGenerator(b'YOURSEEDFROMTHEPREVIOUSTUTORIAL').get_addresses( | ||
start=42, | ||
)[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❔ Could we provide the seed to Iota.__init__()
on line 15, and then use api.get_new_addresses()
here instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely! It's less confusing as well, there is no need for user to know about the existence of AddressGenerator
. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx @todofixthis for the review and finding my typos! 😃
my_address = AddressGenerator(b'YOURSEEDFROMTHEPREVIOUSTUTORIAL').get_addresses( | ||
start=42, | ||
)[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely! It's less confusing as well, there is no need for user to know about the existence of AddressGenerator
. :)
Related: #268 and #284
Description
6. Store Encrypted Data
tutorial to show how one can put encrypted data on the Tangle.7. Fetch Encrypted Data
tutorial to show how one can fetch and read encrypted data from the Tangle