11 lines
302 B
JavaScript
11 lines
302 B
JavaScript
"use strict";
|
|
const common_vendor = require("../common/vendor.js");
|
|
const SM2 = {
|
|
sm2Encrypt: function(text, publicKey) {
|
|
const sm2 = common_vendor.smcrypto.sm2;
|
|
return sm2.doEncrypt(text, publicKey);
|
|
}
|
|
};
|
|
exports.SM2 = SM2;
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/utils/sm2.js.map
|