Skip to content

Commit 8360ef3

Browse files
Update documentation/language/operators/cryptographic_operators.md
Co-authored-by: Mohammad Fawaz <[email protected]> Signed-off-by: Alexander Kim <[email protected]>
1 parent 11e3b66 commit 8360ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/language/operators/cryptographic_operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ toc_max_heading_level: 3
1111

1212
Many of the cryptographic operators have both `hash` and `commit` variants.
1313

14-
The `hash` variant is a one-way function that takes an input produces a fixed-size output called a "hash" or "digest." It has a unique property that if even one bit of the input changes, the output hash will change completely, making it easy to see if data has been tampered with.
14+
The `hash` variant is a one-way function that takes an input and produces a fixed-size output called a "hash" or "digest." It has a unique property that if even one bit of the input changes, the output hash will change completely, making it easy to see if data has been tampered with.
1515

1616
The `commit` variant is a wrapper around the `hash` variant that takes an additional parameter called a blinding factor, otherwise known as a **salt**. The **salt** is appended to the input value before hashing it, ensuring the output will be unique from just the simple hash of the raw input. So long as a different salt is used each time, this allows a user to commit to the same value multiple times without revealing that they've done so.
1717

0 commit comments

Comments
 (0)