We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75803ed commit c396a20Copy full SHA for c396a20
modules/client-node/Readme.md
@@ -61,7 +61,7 @@ const cleartext = 'asdf'
61
* the Encryption SDK returns an "encrypted message" (`result`) that includes the ciphertext
62
* the encryption context, and the encrypted data keys.
63
*/
64
-const { result } = await encrypt(keyring, cleartext, { context })
+const { result } = await encrypt(keyring, cleartext, { encryptionContext: context })
65
66
/* Decrypt the result using the same keyring */
67
const { plaintext, messageHeader } = await decrypt(keyring, result)
0 commit comments