📌  相关文章
📜  在尝试解析模块“crypto”时 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:40.439000             🧑  作者: Mango

代码示例1
import bcrypt from "react-native-bcrypt";
import isaac from "isaac";

bcrypt.setRandomFallback((len) => {
    const buf = new Uint8Array(len);

    return buf.map(() => Math.floor(isaac.random() * 256));
});

const hash = bcrypt.hashSync(...)

...
 Run code snippet