KgmWasm
Wasm for Kgm Encryption & Decryption
Install / Use
/learn @nullptr-0/KgmWasmREADME
KgmWasm
WASM for Kgm Encryption & Decryption
- KgmWasm是从属于音乐解锁Web项目的Kgm类加密文件的WASM解密组件,属于音乐解锁系列项目之一。
- KgmWasm只提供对读入内存的加密内容进行解密的功能,并不能直接使用。如需直接使用,请转到Web预构建版本或CLI预构建版本。
- KgmWasm项目以学习和研究为初衷,并基于您同意并遵守授权协议各项条款在此项目上之应用的条件向您开放源代码。
支持的格式
- [x] 酷狗音乐 Normal (.kgm*)
- [x] 酷狗音乐 Viper (.vpr)
构建与使用
KgmWasm使用GitHub Actions构建和发布npm包,您可以在项目的配置中使用包名@xhacker/kgmwasm进行引用
使用方法
- 您可以参照kgm_wasm.ts中的使用方法
- 您也可以在您的项目中直接引用kgm_wasm.ts文件,例如:
import { DecryptKgmWasm } from '@/kgm_wasm';
// 其他代码 ...
const decrypted= (await DecryptKgmWasm(cipherText, extension)).data;
自行构建
依赖
要自行构建此项目,请确保已经安装Git与CMake且其路径已经添加到 PATH
Linux
在此项目根目录中执行 ./build-wasm 即可构建。构建结果将位于此项目根目录的npm子目录中。
Windows
在此项目根目录中执行 build-wasm.cmd 即可构建。构建结果将位于此项目根目录的npm子目录中。
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
