-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove rollup plugin node globals and builtins
add better maintained node polyfill library add custom crypto polyfill use user id instead of displayName in sharing dialogue e2e tests
- Loading branch information
Showing
5 changed files
with
82 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { pbkdf2 } from '@noble/hashes/pbkdf2' | ||
import { sha512 } from '@noble/hashes/sha512' | ||
|
||
export const pbkdf2Sync = (password, salt, c, dkLen) => { | ||
return Buffer.from(pbkdf2(sha512, password, salt, { c, dkLen })) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.