Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/slow-dingos-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'livekit-client': patch
---

Update docs to clarify other client HKDF support
6 changes: 4 additions & 2 deletions src/e2ee/KeyProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ export class ExternalE2EEKeyProvider extends BaseKeyProvider {

/**
* Accepts a passphrase that's used to create the crypto keys.
* When passing in a string, PBKDF2 is used.
* When passing in an Array buffer of cryptographically random numbers, HKDF is being used. (recommended)
* When passing in a string, PBKDF2 is used. (recommended for maximum compatibility across SDKs)
* When passing in an ArrayBuffer of cryptographically random numbers, HKDF is used.
*
* Note: Not all client SDKS support HKDF.
* @param key
*/
async setKey(key: string | ArrayBuffer) {
Expand Down
Loading