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)
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
Unknown Object (File)
Wed, Dec 4, 3:25 AM
Unknown Object (File)
Wed, Dec 4, 3:25 AM
Unknown Object (File)
Nov 4 2024, 12:08 PM
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.