For that, the crypto module provides a simple function called randomBytes() which we can use to generate random bytes of a specified length.
確定! 回上一頁