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
import{verify}from'@entropyxyz/sdk/utils/crypto'import{Entropy,/*all the other things*/}from'@entropyxyz/sdk'
....// start up entropyconstsig=entropy.sign(args)// these will have the same outputs they are the same functions(awaitentropy.verify(sig)===awaitverify(sig))if(awaitentropy.verify(sig)){// carry on}else{thrownewError('Could not verify signature')}
New Feature Spec:
for signature interface see #434
see also #437 for how we will handle cases where the program has it's own custom hashing algorithm
The text was updated successfully, but these errors were encountered: