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

Crypto: add an optional entropy to ec_encrypt to achieve idempotency #1528

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

bchamagne
Copy link
Member

@bchamagne bchamagne commented Jun 6, 2024

Description

By giving a entropy to the ec_encrypt, the function always return the same value for the same inputs.
We'll need this in #1525.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

unit tests

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@bchamagne bchamagne added feature New feature request crypto Involve cryptography labels Jun 6, 2024
@bchamagne bchamagne force-pushed the 1525-determinist-ec-encrypt branch from 8e77c78 to 4a3d5f6 Compare June 6, 2024 16:00
@bchamagne bchamagne changed the title Crypto: add an optional seed to ec_encrypt to achieve idempotency Crypto: add an optional entropy to ec_encrypt to achieve idempotency Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Involve cryptography feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants