encrypt-web - feat: adding new web crypto module#1928
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the @keyv/encrypt-web package, which provides Web Crypto API encryption support for Keyv, and adds documentation for the @keyv/encrypt-node package. The implementation includes support for AES-GCM and AES-CBC algorithms with cross-compatibility between the node and web versions. Feedback focuses on improving the efficiency of the manual Base64 conversion and simplifying the buffer concatenation logic to enhance maintainability.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1928 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 42 43 +1
Lines 4097 4164 +67
Branches 661 662 +1
=========================================
+ Hits 4097 4164 +67 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
encrypt-web - feat: adding new web crypto module