Skip to content

Commit 813190f

Browse files
authored
Merge pull request #9 from suipotryot/patch-1
Update README.md
2 parents b1f3505 + e93a147 commit 813190f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ The word lists are exported as a `wordlist` variable in each of these submodules
302302
## AES Encryption
303303

304304
```ts
305-
function encrypt(msg: Uint8Array, key: Uint8Array, iv: Uint8Array, mode = "aes-128-ctr", pkcs7PaddingEnabled = true): Uint8Array;
306-
function decrypt(cypherText: Uint8Array, key: Uint8Array, iv: Uint8Array, mode = "aes-128-ctr", pkcs7PaddingEnabled = true): Uint8Array
305+
function encrypt(msg: Uint8Array, key: Uint8Array, iv: Uint8Array, mode = "aes-128-ctr", pkcs7PaddingEnabled = true): Promise<Uint8Array>;
306+
function decrypt(cypherText: Uint8Array, key: Uint8Array, iv: Uint8Array, mode = "aes-128-ctr", pkcs7PaddingEnabled = true): Promise<Uint8Array>;
307307
```
308308

309309
The `aes` submodule contains encryption and decryption functions implementing

0 commit comments

Comments
 (0)