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
What does exactly mean by pre-existing hash (32 bytes) as context?
If one of my function is returning contextOrHash as bytes data type then would that need to be converted to bytes32 hash >using keccak256 OR that contextOrHash as bytes can be directly used in sign() or verify() function.
Someone on discord asked:
Document better the behavior of
contextOrHash
based on which signature scheme is used. Check out the implementation here: https://github.com/oasisprotocol/oasis-sdk/blob/main/runtime-sdk/src/crypto/signature/mod.rs#L544-L621The text was updated successfully, but these errors were encountered: