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

Moved validation into GenerateSharedKey #12

Merged
merged 1 commit into from
Mar 7, 2022
Merged

Conversation

zbalkan
Copy link
Contributor

@zbalkan zbalkan commented Dec 21, 2021

Purpose: remove redundancy

@HavenDV
Copy link
Owner

HavenDV commented Mar 6, 2022

I'm sorry, I forgot to respond to this PR in time. If there is something of value here that is not in the current version?

@zbalkan
Copy link
Contributor Author

zbalkan commented Mar 6, 2022

Hi. The PR moves the validation logic from users responsibility to the constructor itself. If user has to validate it every time a KeyPair is created, it is the sane option.

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.

None yet

2 participants