1
0
Fork 0
Joox 加密格式解密库
Go to file
Jixun Wu 016daa67a5 fix: bump indirect-dep minimist 2022-05-09 19:27:36 +01:00
.github/workflows fix: make published package public 2021-12-19 20:51:09 +00:00
src fix: return null instead of throw error on unsupported version 2021-12-23 23:08:06 +00:00
.gitignore feat: initial commit 2021-12-19 18:19:25 +00:00
.npmignore feat: initial commit 2021-12-19 18:19:25 +00:00
CHANGELOG.md chore: bump version to 0.0.1-R5 2021-12-23 23:08:56 +00:00
LICENSE feat: initial commit 2021-12-19 18:19:25 +00:00
README.md fix: use package name under the expected namespace 2021-12-20 17:36:20 +00:00
joox-decrypt fix: mark binary as executable 2022-05-09 19:27:06 +01:00
package-lock.json fix: bump indirect-dep minimist 2022-05-09 19:27:36 +01:00
package.json chore: bump version to 0.0.1-R5 2021-12-23 23:08:56 +00:00

README.md

JOOX-Crypto

Joox 加密处理库。

支持的加密版本:

  • E!04 - 加密版本 v4

安装 & 使用 (Install & Usage)

npm i --save @unlock-music/joox-crypto
const jooxFactory = require('@unlock-music-gh/joox-crypto');

const data = new Uint8Array(...);
const decryptor = jooxFactory(data, '00000000000000000000000000000000');
if (!decryptor) throw new Error('不支持的加密方案或不是 joox 加密的文件。');

/** @type {Uint8Array[]} */
const decrypted = decryptor.decryptFile(data);

English

A package to decrypt joox encrypted file.

Supported varient:

  • E!04 - encryption ver 4