LoRaWAN-Signal-Mapping/server/Helpers/crypto_async.mjs

9 lines
139 B
JavaScript
Raw Normal View History

2019-05-20 16:06:20 +00:00
"use strict";
import util from 'util';
import crypto from 'crypto';
2019-05-20 16:06:20 +00:00
export default {
randomBytes: util.promisify(crypto.randomBytes)
};