首次放到 git

This commit is contained in:
Luk.Lu
2018-10-09 23:03:05 +08:00
commit 16cca302b7
37 changed files with 4203 additions and 0 deletions

8
utils/random-bytes.js Normal file
View File

@@ -0,0 +1,8 @@
'use strict';
var randomBytes = require('crypto').randomBytes;
module.exports = function(length) {
return new Uint8Array(randomBytes(length));
}