Page MenuHomePhabricator

[web] Add unit tests for AES functions
ClosedPublic

Authored by bartek on Mar 9 2023, 11:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 3, 8:27 AM
Unknown Object (File)
Wed, Apr 3, 8:27 AM
Unknown Object (File)
Wed, Apr 3, 8:27 AM
Unknown Object (File)
Wed, Apr 3, 8:27 AM
Unknown Object (File)
Wed, Apr 3, 8:27 AM
Unknown Object (File)
Wed, Apr 3, 8:19 AM
Unknown Object (File)
Fri, Mar 29, 2:46 PM
Unknown Object (File)
Feb 21 2024, 8:07 PM
Subscribers

Details

Summary

Added unit tests for functions implemented in D7024

Depends on D7024
Depends on D7019

Test Plan

Ran these tests

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 9 2023, 11:11 PM

I'll add a test for the correct key, but the malformed ciphertext

Thanks for including these tests!

web/media/aes-crypto-utils.test.js
61–63 ↗(On Diff #23676)

Appreciate the comments explaining what you're doing with the bitwise operators

This revision is now accepted and ready to land.Mar 13 2023, 4:45 PM
This revision was automatically updated to reflect the committed changes.