Closed letmejustputthishere closed 2 years ago
Did you mean #56 ?
no i want to validate a secp256k1 or ed25519 signature made with @dfinity/identity
https://erxue-5aaaa-aaaab-qaagq-cai.ic0.app/identity/classes/Ed25519KeyIdentity.html#sign
https://erxue-5aaaa-aaaab-qaagq-cai.ic0.app/identity/classes/Secp256k1KeyIdentity.html#sign
Added at #65.
You can use Identity.verify(msg, signature: bytes)
to verify the signature, where msg
is is bytes or bytes in string format, and signature is bytes.
awesome, thank you!
it would be nice if we could verify signatures that were created with the dfinity agent