@ahau2019/decode
v1.0.3
Published
Decode data use web wasm easily
Downloads
2
Readme
@ahau2019/decode v1.0.3
This library provides a fast solution for decrypting data. It is based on WASM
Installation
Using npm:
$ npm i --save @ahau2019/decode
In Webpack:
const decode = import("@ahau2019/decode");
// The data you need to decode
const data = ''
decode.then(decode => {
const realData = decode.uncode(data)
}).catch(err => console.log(err));
API
/**
* 还原真实数据
* @param {*} 后台加密后的数据(短格式)
* @return String
*/
function uncode(data: String): String {
}
/**
* 还原真实数据
* @param {*} 后台加密后的数据(长格式)
* @return String
*/
function uncode_long(data: String): String {
}