diff options
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/taler-util/src/talerCrypto.test.ts | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/packages/taler-util/src/talerCrypto.test.ts b/packages/taler-util/src/talerCrypto.test.ts index 1e3ceef61..e9dfed4da 100644 --- a/packages/taler-util/src/talerCrypto.test.ts +++ b/packages/taler-util/src/talerCrypto.test.ts @@ -30,6 +30,11 @@ import {  } from "./talerCrypto.js";  import { sha512, kdf } from "./kdf.js";  import * as nacl from "./nacl-fast.js"; +import { initNodePrng } from "./prng-node.js"; + +// Since we import nacl-fast directly (and not via index.node.ts), we need to +// init the PRNG manually. +initNodePrng();  test("encoding", (t) => {    const s = "Hello, World"; | 
