Page MenuHomePhabricator

[native] Add function to decrypt media file
ClosedPublic

Authored by bartek on Mar 28 2023, 11:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 12:08 PM
Unknown Object (File)
Mon, Nov 4, 12:08 PM
Unknown Object (File)
Mon, Nov 4, 12:07 PM
Unknown Object (File)
Mon, Nov 4, 12:07 PM
Unknown Object (File)
Mon, Nov 4, 12:07 PM
Unknown Object (File)
Mon, Nov 4, 12:07 PM
Unknown Object (File)
Sun, Oct 27, 1:58 AM
Unknown Object (File)
Sun, Oct 27, 1:58 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.