-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add initial implentation #2
Conversation
153724a
to
f7967bd
Compare
src/lib.rs
Outdated
/// original plaintext. | ||
/// | ||
/// ## Return | ||
/// Returns the `[JubJubExtended]` plaintext. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix this:
/// Returns the `[JubJubExtended]` plaintext. | |
/// Returns the [`JubJubExtended`] plaintext. |
src/lib.rs
Outdated
/// original plaintext in a gadget that can be used in a plonk-circuit. | ||
/// | ||
/// ## Return | ||
/// Returns the `[WitnessPoint]` plaintext. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix this
/// Returns the `[WitnessPoint]` plaintext. | |
/// Returns the [`WitnessPoint`] plaintext. |
src/lib.rs
Outdated
/// plaintext [`JubJubExtended`]. | ||
/// | ||
/// ## Return | ||
/// Returns the ciphertext tuple `([JubJubExtended], [JubJubExtended])`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix this
/// Returns the ciphertext tuple `([JubJubExtended], [JubJubExtended])`. | |
/// Returns the ciphertext tuple `(JubJubExtended, JubJubExtended)`. |
f7967bd
to
d185db3
Compare
d185db3
to
263c54a
Compare
README.md
Outdated
$$ | ||
c_2 - c_1 * sk_B = m + PK_B * r - (r * G * sk_B) = m + PK_B * r - PK_B * r = m | ||
$$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not rendering properly on the md (at least for me)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, you're right, it also doesn't render it on github even though github flavored markdown supposedly supports $$
for math blocks. A ```math block seems to do the trick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves #1