Remove hat module

It's not been updated for 6 years!
This commit is contained in:
Girish Ramakrishnan
2018-06-11 12:38:15 -07:00
parent 2aa6350c94
commit 6534297a5d
15 changed files with 37 additions and 35 deletions
+9
View File
@@ -0,0 +1,9 @@
'use strict';
exports = module.exports = hat;
var crypto = require('crypto');
function hat (bits) {
return crypto.randomBytes(bits / 8).toString('hex');
}