Skip to content

Commit

Permalink
show packet data as hex
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 3, 2024
1 parent dc74f19 commit dd8aa2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html5/crypto.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
const eu8 = u8(expected);
const au8 = u8(actual);
show(" mismatch:");
show(" expected "+eu8.length+" bytes: " + eu8);
show(" but got "+au8.length+" bytes: " + au8);
show(" expected "+eu8.length+" bytes: " + arrayhex(eu8));
show(" but got "+au8.length+" bytes: " + arrayhex(au8));
}

function show_value(what, value) {
Expand Down

0 comments on commit dd8aa2c

Please sign in to comment.