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
Importing sha256 from @cosmjs/crypto failed trying to import node:crypto. Attempts to work around that using a newer @noble/hashes ran into a limitation around package exports:
What is the Problem Being Solved?
Importing
sha256
from@cosmjs/crypto
failed trying to importnode:crypto
. Attempts to work around that using a newer@noble/hashes
ran into a limitation around packageexports
:Description of the Design
sketch: Agoric/agoric-sdk#9576 (comment)
cc @kriskowal
Security Considerations
sha256 callers rely on cryptographic hash properties (other than constant time)
Scaling Considerations
I'm not currently aware of a need to hash large quantities of data, so dropping down to native code isn't likely to have a significant impact.
Test Plan
@noble/hashes
is extensively tested; any deviation should be carefully tested.Compatibility / Upgrade Considerations
This would be a new feature.
The text was updated successfully, but these errors were encountered: