GithubHelp home page GithubHelp logo

sinycat / kgmwasm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nullptr-0/kgmwasm

0.0 0.0 0.0 18 KB

Wasm for Qmc Encryption & Decryption

License: Apache License 2.0

Shell 5.03% C++ 60.02% TypeScript 16.83% CMake 11.45% Batchfile 6.67%

kgmwasm's Introduction

KgmWasm

WASM for Kgm Encryption & Decryption

  • KgmWasm是从属于音乐解锁Web项目的Kgm类加密文件的WASM解密组件,属于音乐解锁系列项目之一。
  • KgmWasm只提供对读入内存的加密内容进行解密的功能,并不能直接使用。如需直接使用,请转到Web预构建版本CLI预构建版本
  • KgmWasm项目以学习和研究为初衷,并基于您同意并遵守授权协议各项条款在此项目上之应用的条件向您开放源代码。

支持的格式

  • 酷狗音乐 Normal (.kgm*)
  • 酷狗音乐 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;

自行构建

Linux

在此项目根目录中执行 ./build-wasm 即可构建。构建结果将位于此项目根目录的npm子目录中。

Windows

在此项目根目录中执行 build-wasm.cmd 即可构建。构建结果将位于此项目根目录的npm子目录中。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.