Joox 加密格式解密库
Go to file
2024-09-29 18:25:12 +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
.npmrc chore: upgrade to pnpm, use self-hosted npm repo 2024-09-29 17:57:38 +01:00
CHANGELOG.md chore: bump version to 0.0.1-R5 2021-12-23 23:08:56 +00:00
joox-decrypt fix: mark binary as executable 2022-05-09 19:27:06 +01:00
LICENSE feat: initial commit 2021-12-19 18:19:25 +00:00
package.json chore: update package.json 2024-09-29 17:59:16 +01:00
pnpm-lock.yaml chore: upgrade to pnpm, use self-hosted npm repo 2024-09-29 17:57:38 +01:00
README.md docs: update readme 2024-09-29 18:25:12 +01:00

JOOX-Crypto

Joox 加密处理库。

支持的加密版本:

  • E!04 - 加密版本 v4

安装 & 使用 (Install & Usage)

在项目目录加入 .npmrc

@unlock-music:registry=https://git.unlock-music.dev/api/packages/um/npm/

然后安装:

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