Authored by yyq

upper

'use strict';
const _ = require('lodash');
const utf8ToHex = (string) => {
var buf = new Buffer(string, 'utf8');
return buf.toString('hex');
return _.toUpper(buf.toString('hex'));
};
const hexToUtf8 = (string) => {
... ...