Skip to content

Commit ca689ac

Browse files
authored
Merge pull request #444 from oguzutku1745/update-operators-signature-verify
Short explanation added for signature::verify
2 parents 871cc6a + 3b4a8ad commit ca689ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/leo/04_operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ transition verify_field(s: signature, a: address, v: field) {
10211021

10221022
#### Description
10231023

1024-
Verifies that the signature `first` was signed by the address `second` with respect to the field `third`, storing the result in `destination`.
1024+
Verifies that the signature `first` was signed by the address `second` with respect to the field `third`, storing the result in `destination`. This verification follows the [Schnorr signature scheme](https://en.wikipedia.org/wiki/Schnorr_signature), which is a digital signature algorithm where the signer generates a random nonce, commits to it, computes a challenge using a hash function, and produces a signature by combining the nonce, challenge, and private key. The verifier checks the validity by reconstructing the challenge and ensuring consistency with the public key and message.
10251025

10261026
#### Supported Types
10271027

0 commit comments

Comments
 (0)