2020-05-13 11:46:52 +02:00
|
|
|
'use strict';
|
|
|
|
|
2020-05-13 12:27:46 +02:00
|
|
|
const crypto = require('crypto');
|
2020-05-13 11:46:52 +02:00
|
|
|
|
|
|
|
module.exports = {
|
2020-05-13 12:27:46 +02:00
|
|
|
generate() {
|
|
|
|
return crypto.randomBytes(64).toString('hex');
|
|
|
|
},
|
2020-05-13 11:46:52 +02:00
|
|
|
};
|