HomePhabricator
Diffusion Comm 436eb8a4d54c

[CommCoreModule] implement encrypting content with `olm` session

Description

[CommCoreModule] implement encrypting content with olm session

Summary:
Implemented method to encrypt content.

Depends on D10376

Test Plan:
This code is really hard to test as it's impossible to verify partial results.
I generated some keys and values, verified them with olm-utils.test.js, and checked if they succeeded/failed when calling the method introduced here in the same cases as JS tests.
Full functionality tested later in the stack.

Reviewers: marcin, varun, michal

Reviewed By: marcin

Subscribers: ashoat, tomek

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

Details

Provenance
kamilAuthored on Dec 17 2023, 5:20 AM
Reviewer
marcin
Differential Revision
D10377: [CommCoreModule] implement encrypting content with `olm` session
Parents
rCOMM3ec7f955fb2c: [CommCoreModule] implement creating inbound `olm` session
Branches
Unknown
Tags
Unknown