This commit is contained in:
2026-02-08 16:04:51 +08:00
parent 4ba3745666
commit 8a1aee9d00
4 changed files with 53 additions and 52 deletions

View File

@@ -0,0 +1,11 @@
import {assertEquals} from "jsr:@std/assert";
import {teDecryptToString, teEncrypt} from "./deno-teencrypt-mod.ts";
Deno.test("teEncryptDecrypt", async () => {
assertEquals(
"hello world",
await teDecryptToString(
await teEncrypt("hello world"),
),
);
});