mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 16:46:00 +00:00
public commit
This commit is contained in:
@@ -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"));
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user