You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 30, 2024. It is now read-only.
Previously, if a `salt` option was supplied as a string it would be passed to
`pbkdf2Sync`/`scrypt` as a string, but during decryption it was always
converted to a Buffer instance such that supplying a `salt` option as a string
resulted in output that could not be decrypted.
This commit fixes the bug, and also makes encrypted output match up with the
output of other wallet libraries, e.g. `ethers`, whenever the equivalent
encryption options are used consistently across libraries.
See the following `web3.js` PRs: [#2950][2950] and [#2938][2938]
[2950]: web3/web3.js#2950
[2938]: web3/web3.js#2938
0 commit comments