commit 846e67a8feb35b712b78490cf1cb4b9284aca3bb
parent 09b21967baf45b6d682d95d0e4ba2b255727fd0e
Author: Jared Tobin <jared@jtobin.io>
Date: Wed, 16 Sep 2020 21:56:11 -0230
readme: fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -19,7 +19,7 @@ If you're paranoid, you can use the `gen_custom` function to supply an
additional custom buffer that will be XOR'd in with the generated entropy:
```
-> let paranoia = await tg.gen(384, Buffer.from("a very random string"))
+> let paranoia = await tg.gen_custom(384, Buffer.from("a very random string"))
> paranoia
'~dolhes-parmes-tagnev-fablug-pagwyn-dopwel-ripnys-hardut-batnym-ridreb-finmec-mistes-figweg-labled-tocbet-bidryt-wolpub-filtev-tappeg-fassyt-tonred-savruc-lisred-tidlec'
```