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

encryption Add support for encrypting content using hybrid RSA/AES encryption #562

Merged
merged 5 commits into from
Feb 11, 2025

Conversation

joshjennings98
Copy link
Contributor

@joshjennings98 joshjennings98 commented Feb 11, 2025

Description

This change provides a method of encrypting a payload using hybrid RSA AES encryption. The payload itself is encrypted with the AES key which is fast but symmetric meaning both parties require the key. Therefore the key is encrypted with asymmetric RSA encryption and the encrypted key is included in the payload itself. RSA is not efficient on larger payloads so this method allows for fast encryption whilst also being asymmetric.

Information on hybrid RSA/AES encryption can be found here https://www.ijrar.org/papers/IJRAR23B1852.pdf

Test Coverage

  • This change is covered by existing or additional automated tests.
  • Manual testing has been performed (and evidence provided) as automated testing was not feasible.
  • Additional tests are not required for this change (e.g. documentation update).

@joshjennings98 joshjennings98 changed the title encryption Add support for encyrpting conent using hybri… encryption Add support for encyrpting conent using hybrid RSA/AES encryption Feb 11, 2025
@joshjennings98 joshjennings98 changed the title encryption Add support for encyrpting conent using hybrid RSA/AES encryption encryption Add support for encyrpting content using hybrid RSA/AES encryption Feb 11, 2025
@joshjennings98 joshjennings98 changed the title encryption Add support for encyrpting content using hybrid RSA/AES encryption encryption Add support for encrypting content using hybrid RSA/AES encryption Feb 11, 2025
acabarbaye
acabarbaye previously approved these changes Feb 11, 2025
@acabarbaye acabarbaye merged commit 9cf063a into master Feb 11, 2025
6 checks passed
@acabarbaye acabarbaye deleted the encryption branch February 11, 2025 16:16
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