huawei-wingle-4g
Version:
This is a module NodeJS allowing to drive Huawei Wingle 4G. This module can :
14 lines • 443 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.encodeSha256 = exports.encodeBase64 = void 0;
const sha256 = require('sha256');
function encodeBase64(text) {
const buffer = Buffer.from(text);
return buffer.toString('base64');
}
exports.encodeBase64 = encodeBase64;
function encodeSha256(text) {
return sha256(text);
}
exports.encodeSha256 = encodeSha256;
//# sourceMappingURL=EncodeUtils.js.map