Description
- Added Kyber keys generation
- Added hybrid encryption and decryption functions + tests for them
- Added extendSecret + tests for the blake3 hash function
- src/app/share/services/share.service.ts switched to hybridDecryptMessageWithPrivateKey. Added tests to show it behaves the same way as decryptMessageWithPrivateKey when Kyber is not used for encryption
Related Issues
Relates to PB-3626
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed
How Has This Been Tested?
Added unit tests for blake3, XOR, hybrid enc/dec, and switch to hybridDecryptMessageWithPrivateKey in share.service
Additional Notes
Kyber is not used!!! hybridDecryptMessageWithPrivateKey does the same as decryptMessageWithPrivateKey because we never encrypt using Kyber