Page MenuHomePhabricator

[native] Add function to decrypt media file
ClosedPublic

Authored by bartek on Mar 28 2023, 11:06 AM.
Tags
None
Referenced Files
F3515697: D7224.id24485.diff
Sun, Dec 22, 9:36 AM
F3515596: D7224.id24300.diff
Sun, Dec 22, 9:18 AM
F3514397: D7224.diff
Sun, Dec 22, 4:40 AM
Unknown Object (File)
Tue, Dec 17, 9:43 AM
Unknown Object (File)
Wed, Dec 4, 3:25 AM
Unknown Object (File)
Wed, Dec 4, 3:25 AM
Unknown Object (File)
Wed, Dec 4, 3:25 AM
Unknown Object (File)
Wed, Dec 4, 3:25 AM
Subscribers

Details

Summary

This diff adds function that opens and decrypts given encrypted file. Decrypted content can either be saved to a file or returned as a data URI.

Depends on D7223

Test Plan

This function is tested in subsequent diffs where it is used.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Mar 28 2023, 11:55 AM
native/media/encryption-utils.js
62 ↗(On Diff #24300)

Since this is an input, we can tell the caller we won't mutate it

This revision is now accepted and ready to land.Mar 28 2023, 4:17 PM

Made input type read-only.