Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CU-86a0fhbu3 - document wcsdk about encrypt/decrypt #99

Merged
merged 2 commits into from
Nov 23, 2023
Merged

Conversation

melanke
Copy link
Contributor

@melanke melanke commented Nov 23, 2023

No description provided.

@melanke
Copy link
Contributor Author

melanke commented Nov 23, 2023

USAGE_GUIDE.md Outdated
```ts
// 1) encrypt data using the public key of many recipients
const encryptedMessages = wcSdk.encrypt("Data to be encrypted", [
recipientPublicKey1, recipientPublicKey2, recipientPublicKey3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recipientPublicKey1, recipientPublicKey2, recipientPublicKey3

I think it might be better to rename these variables, otherwise, it might seem that the same recipient has multiple public keys

@luc10921 luc10921 merged commit ecc81d8 into main Nov 23, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants