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

Split crypto related interfaces #18

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Split crypto related interfaces #18

merged 1 commit into from
Dec 20, 2023

Conversation

normanmaurer
Copy link
Member

Motivation:

When setup the HPKE context you either set it up for encryption or decryption. We should change our interfaces to reflect this and so guard the user from miss-usage.

Modifications:

Introduce sub-types to support either encryption or decryption

Result:

Guard users from incorrect setup and usage of context

@normanmaurer normanmaurer added this to the 0.0.3.Final milestone Dec 20, 2023
Motivation:

When setup the HPKE context you either set it up for encryption or decryption. We should change our interfaces to reflect this and so guard the user from miss-usage.

Modifications:

Introduce sub-types to support either encryption or decryption

Result:

Guard users from incorrect setup and usage of context
@normanmaurer normanmaurer merged commit a340fb4 into main Dec 20, 2023
5 checks passed
@normanmaurer normanmaurer deleted the crypto_split branch December 20, 2023 19:31
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.

1 participant