public commit

This commit is contained in:
dswbx
2024-11-16 12:01:47 +01:00
commit 90f80c4280
582 changed files with 49291 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { describe, test } from "bun:test";
import { checksum, hash } from "../../src/core/utils";
describe("crypto", async () => {
test("sha256", async () => {
console.log(await hash.sha256("test"));
});
test("sha1", async () => {
console.log(await hash.sha1("test"));
});
test("checksum", async () => {
console.log(checksum("hello world"));
});
});