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

New function to quick check if a session key can decrypt a encrypted data packet #249

Merged
merged 3 commits into from
Aug 28, 2023

Conversation

lubux
Copy link
Contributor

@lubux lubux commented Aug 24, 2023

This pull request adds a new function QuickCheckDecrypt to the helper package.
The function allows to check with high probability if a session key can decrypt a data packet given its 24 byte prefix.
It only works for SEIPDv1 data packets that use AES as a cipher.

This commit adds a function to the helper package that allows to check with high probability if a sessionkey can decrypt a data packet given its 24 byte prefix.
@lubux lubux requested a review from twiss August 24, 2023 14:29
helper/decrypt_check.go Outdated Show resolved Hide resolved
@lubux lubux merged commit 987923f into main Aug 28, 2023
9 checks passed
@lubux lubux deleted the feat/quick-check-decrypt branch August 28, 2023 08: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.

2 participants