Giter Club home page Giter Club logo

plugin's Introduction

JAVA 插件开发样例

pluggable 使用插件方

需要提供插件接口

自定义 classloader 解密插件字节码

使用命令行参数 传入解密byte main(String[] args) 默认解密byte=1

plugins 插件

需要依赖 pluggable 提供的插件接口

需要依赖 groovy 提供的加密 encrypt gradle TASK

使用命令行参数 传入加密byte gradle build -Pkey=2 默认key=1

groovy 插件

gradle 插件加密 字节码 默认加密byte=1

AES

不可约多项式

不可约多项式,不能写成两个次数较低的多项式之乘积的多项式
8次 不可约多项式 y(x) 范围 = 2^8 ~ (2^9-1)
子项 z(x) 范围 = 2 ~ (2^8-1) y(x) != z1(x) * z2(x)

8次不可约多项式

BIN OCT DEC HEX
1 0001 1011 433 283 1 1 B
1 0001 1101 435 285 1 1 D
1 0010 1011 453 299 1 2 B

plugin's People

Contributors

aiclr avatar linweiyuan avatar

Watchers

 avatar

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.