HomePhabricator
Diffusion Comm 7096eb583d29

[web-db] implement crypto functions

Description

[web-db] implement crypto functions

Summary:
Based on SubtleCrypto. Functions we will need for encryption database.

Depends on D6994

Test Plan:
Encryption:

  1. Create data ArrayBuffer
  2. Encrypt
  3. Decrypt
  4. Compare

Crypto Key:

  1. Check if it's properly generated
  2. Verify that can not be extracted using js

Reviewers: michal, tomek, bartek

Reviewed By: bartek

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D6995

Details

Provenance
kamilAuthored on Mar 7 2023, 7:11 AM
Reviewer
bartek
Differential Revision
D6995: [web-db] implement crypto functions
Parents
rCOMMb191d4bc8962: [web-db] add unit tests for `sql.js`
Branches
Unknown
Tags
Unknown