This commit is contained in:
2024-09-09 16:11:18 +02:00
parent a919eabbba
commit 5fa068776c
16 changed files with 55 additions and 47 deletions
+6 -6
View File
@@ -1,14 +1,14 @@
import {beforeAll, expect, test} from 'bun:test'
import {PwdBox} from '..'
let k1!: string;
let k2!: string;
let message!: Uint8Array;
let k1!: string
let k2!: string
let message!: Uint8Array
beforeAll(async () => {
k1 = "abc"
k2 = "def"
message = new TextEncoder().encode("Salut ! ça va ?")
k1 = 'abc'
k2 = 'def'
message = new TextEncoder().encode('Salut ! ça va ?')
})
test('base case', async () => {