Support for end-to-end encryption is awesome! I'd like to take advantage of the feature in my own Python app using the Pushbullet API. Is this possible? If, say, I wanted to send a simple note, could I do something like:
import json
import requests
headers = {'content-type':'application/json', 'Authorization': 'Bearer <my-key>'}
note = {'type':'note', 'title':'Testing 1, 2, 3', 'body':'Hello World!'}
cyptNote = encrypt(note)
requests.post('https://api.pushbullet.com/v2/pushes', headers=headers, json=cyptNote)
What would the encrypt function need to do?