Skip to content
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 Bulletproof rewind functionality #340

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

hansieodendaal
Copy link

This is closely modelled on Grin's solution, but using two private keys:

  • Interfaces:
    • create a rewindable ZK proof with up to 23 bytes additional embedded proof
      data
    • extract the value and 23 bytes proof data only
    • extract the value, blinding factor and 23 bytes proof data
  • Required:
    • two rewind nonces, based on two public rewind keys and the value
      commitment
    • two blinding nonces, based on the two private rewind keys and the value
      commitment
  • Use:
    • the two rewind nonces are used to extract the value and 23 bytes embedded
      proof data
    • the two rewind nonces and two blinding nonces are used to extract the
      value, blinding factor and 23 bytes embedded proof data

Please see related issue #335

Thanks!

This is closely modelled on Grin's solution, but using two private keys:
- Interfaces:
  - create a rewindable ZK proof with up to 23 bytes additional embedded proof
    data
  - extract the value and 23 bytes proof data only
  - extract the value, blinding factor and 23 bytes proof data
- Required:
  - two rewind nonces, based on two public rewind keys and the value
    commitment
  - two blinding nonces, based on the two private rewind keys and the value
    commitment
- Use:
  - the two rewind nonces are used to extract the value and 23 bytes embedded
    proof data
  - the two rewind nonces and two blinding nonces are used to extract the
    value, blinding factor and 23 bytes embedded proof data
@delta1
Copy link

delta1 commented Feb 8, 2021

Hi bulletproofs team! @hdevalence @cathieyun @isislovecruft @oleganza

Could we have any feedback on this proposal/PR please? We are maintaining a fork over at tari-project/bulletproofs, but would love to have this merged upstream if it's something you find could be useful.

Any comment or critique is greatly welcomed. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants