Skip to content

Commit

Permalink
Merge pull request #444 from oguzutku1745/update-operators-signature-…
Browse files Browse the repository at this point in the history
…verify

Short explanation added for signature::verify
  • Loading branch information
d0cd authored Feb 16, 2025
2 parents 871cc6a + 3b4a8ad commit ca689ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/leo/04_operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ transition verify_field(s: signature, a: address, v: field) {

#### Description

Verifies that the signature `first` was signed by the address `second` with respect to the field `third`, storing the result in `destination`.
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.

#### Supported Types

Expand Down

0 comments on commit ca689ac

Please sign in to comment.