最近在使用 TSLint 规范代码的时候, 使用了微软的规则, 它提示 Math.random 不安全的伪随机数字。 建议使用 crypto.randomBytes() 或 window.crypto.getRandomValues() ...
確定! 回上一頁