diff --git a/tests/node/tests/operations.mjs b/tests/node/tests/operations.mjs index 3b2bbda6..96735554 100644 --- a/tests/node/tests/operations.mjs +++ b/tests/node/tests/operations.mjs @@ -136,7 +136,7 @@ Tiger-128`; it("Bcrypt", async () => { const result = await chef.bcrypt("Put a Sock In It"); const strResult = result.toString(); - assert.match(strResult, /^\$2b\$10\$[./A-Za-z0-9]{53}$/); + assert.match(strResult, /^\$2[ab]\$10\$[./A-Za-z0-9]{53}$/); assert.equal(strResult.split("$").length, 4); }),