Joox 加密格式解密库
Go to file
Jixun f82ff8216b chore: bump to 0.0.1-R3 2021-12-19 22:50:48 +00:00
.github/workflows fix: make published package public 2021-12-19 20:51:09 +00:00
src fix: remove static modifier to work with elder babel 2021-12-19 22:49:15 +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 to 0.0.1-R3 2021-12-19 22:50:48 +00:00
LICENSE feat: initial commit 2021-12-19 18:19:25 +00:00
README.md doc: update readme 2021-12-19 21:02:17 +00:00
joox-decrypt fix: use jooxFactory for decryption 2021-12-19 18:42:05 +00:00
package-lock.json feat: initial commit 2021-12-19 18:19:25 +00:00
package.json chore: bump to 0.0.1-R3 2021-12-19 22:50:48 +00:00

README.md

JOOX-Crypto

Joox 加密处理库。

支持的加密版本:

  • E!04 - 加密版本 v4

安装 & 使用 (Install & Usage)

npm i --save @unlock-music-gh/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