Skip to content

Commit

Permalink
Remove MD5 code
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Knoblich <[email protected]>
  • Loading branch information
stknob committed Sep 2, 2024
1 parent 276fbbc commit 53d34b3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 307 deletions.
10 changes: 0 additions & 10 deletions benchmark/index.mts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as bench from 'micro-bmark';
import { aegis128l } from '../src/aegis128l.mjs';
import { aegis256 } from '../src/aegis256.mjs';
import { MD5 } from '../src/md5.mjs';

const PARAMS = [
[16, 1_000_000],
Expand All @@ -13,15 +12,6 @@ const PARAMS = [
[1024*1024, 100],
];

await bench.run(null, async () => {
for (const [size, samples] of PARAMS) {
const msg = new Uint8Array(size);
await bench.mark(`md5 @ ${size}`, samples, () => {
MD5.digest(msg);
});
}
});

await bench.run(null, async () => {
const key = new Uint8Array(16);
const nonce = new Uint8Array(16);
Expand Down
257 changes: 0 additions & 257 deletions src/md5.mts

This file was deleted.

40 changes: 0 additions & 40 deletions test/md5.test.mts

This file was deleted.

0 comments on commit 53d34b3

Please sign in to comment.