Closed shreyasminocha closed 2 years ago
Done in current encrypt-async
@danwallach while writing a usage example for the readme, I noticed that encrypt
accepts a PlaintextContest
, and that there isn't a version that accepts a JS object and deserializes it. Is this by design?
For now, it's deliberate. I want the client of our API to fill out the plaintext data structures. We could potentially build a wrapper API around it, but lets wait and see if anybody wants one.
The Plaintext data structures are a lot simpler.
The Manifest stuff, on the other hand, is complicated. That's a place we might want to help simplify things.