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)
Sun, Nov 3, 5:16 PM
Unknown Object (File)
Sat, Nov 2, 2:54 AM
Unknown Object (File)
Sat, Nov 2, 12:29 AM
Unknown Object (File)
Sat, Nov 2, 12:29 AM
Unknown Object (File)
Sat, Nov 2, 12:29 AM
Unknown Object (File)
Sat, Nov 2, 12:29 AM
Unknown Object (File)
Sat, Oct 26, 12:19 AM
Unknown Object (File)
Oct 21 2024, 2:05 AM
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.