zkBob / libzkbob-rs

Apache License 2.0
1 stars 3 forks source link

Optimize shared secrets encryption scheme #63

Closed AllFi closed 9 months ago

AllFi commented 1 year ago

This PR contains an implementation of the https://github.com/zkBob/libzeropool-zkbob/issues/14.

In this PR the following was done:

  1. A new key kappa has been added to the Keys struct.
  2. The parameter kappa has been added to all the calls of encrypt, decrypt_out, and symcipher_decryption_keys.
  3. parse_prefix has been modified to accommodate the new Version struct.

Related PR: https://github.com/zkBob/libzeropool-zkbob/pull/15 Related draft in the docs: https://app.gitbook.com/o/-Loxl4rmid_XZStTXG0U/s/-MjSwkv4zokqCUebt-98/~/changes/512/implementation/zkbob-keys/~/details

Note: Please notify me before merging this PR so I can remove the temporary patch section in Cargo.toml and update versions.