@unlock-music/joox-crypto (0.0.1)

Published 2024-09-29 16:59:30 +00:00 by lsr in um/joox-crypto

Installation

@unlock-music:registry=
npm install @unlock-music/joox-crypto@0.0.1
"@unlock-music/joox-crypto": "0.0.1"

About this package

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

Dependencies

Dependencies

ID Version
crypto-js ^4.2.0

Development Dependencies

ID Version
@types/jest ^29.5.13
jest ^29.7.0
lint-staged ^15.2.10
prettier 3.3.3
simple-git-hooks ^2.11.1

Keywords

joox
Details
npm
2024-09-29 16:59:30 +00:00
256
LSR
MIT
latest
3.7 KiB
Assets (1)
Versions (1) View all
0.0.1 2024-09-29