1.不要使用Math.random() · 2.不要直接使用crypto.getRandomBytes,若真要使用需注意偏移量問題 · 3.NodeJS要產生隨機token,可使用uuid v4,此法也是基於 ...
確定! 回上一頁