Skip to content

Commit de33346

Browse files
committed
翻译Readme-zh.md文档为Readme.md;
1 parent 6fc0b22 commit de33346

File tree

1 file changed

+82
-3
lines changed

1 file changed

+82
-3
lines changed

README.md

Lines changed: 82 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,88 @@ English | [Chinese](README-zh.md)
44
## Supporting environment ##
55
>**Note:** At present, the project has not completed the compatibility test, and this compatibility data is only for reference.
66
- Base:
7-
- Java: 1.8 or Upper
7+
- Java: 1.8.0 or Upper
8+
- Encrypt:
9+
- Java: 1.8.0_161 or Upper (Or install JCE.policy on Java to lift restrictions on AES256 and above)
10+
- Event:
11+
- Java: 1.8.0 or Upper
812

9-
## Introduce ##
10-
### ###
13+
## Introduction ##
14+
### The purpose of this project ###
15+
The purpose of this project is to summarize all the frequently used in Java development in one library, to avoid the situation of "the same function has been developed many times in different projects".
1116

17+
## Utils ##
18+
### base ###
19+
Package path: `net.lamgc.utils.base`
20+
Introduction: Basic tools.
1221

22+
- `ArgumentsProperties` - Used to parse the parameter list to generate parameter key-value pairs, which can quickly find parameters.
23+
24+
### encrypt ###
25+
Package path: `net.lamgc.utils.encrypt`
26+
Introduction: Encrypt Utilscontains encryption-related tools such as AES encryption and decryption, RSA encryption and decryption, and signatures. All tool classes are developed based on Java's own encryption suite.
27+
28+
- `AESEncrypt` - AES encryption and decryption related classes.
29+
- `DiffieHellmanEncrypt` - DiffieHellman Key exchange algorithm class.
30+
- Type of encryption algorithm supported by the shared key:
31+
- AES
32+
- RC2
33+
- RC4
34+
- Blowfish
35+
- DES
36+
- DES-EDE
37+
- HmacMD5
38+
- HmacSHA1
39+
- HmacSHA256
40+
- HmacSHA384
41+
- HmacSHA512
42+
- `MessageDigestUtils` - Message digest algorithm tool class.
43+
- Supported message digest algorithms:
44+
- MD2
45+
- MD5
46+
- SHA-1
47+
- SHA-256
48+
- SHA-384
49+
- SHA-512
50+
- `RSAEncrypt` - RSA encryption and decryption tool class.
51+
- `RSAEncryptWithAES` - Data encryption and decryption tool class combining RSA and AES.
52+
- `RSASign` - RSA signature tool class.
53+
- Supported signature algorithms:
54+
- MD2
55+
- MD5
56+
- SHA-1
57+
- SHA-224
58+
- SHA-256
59+
- SHA-384
60+
- SHA-512
61+
### event ###
62+
Package path: `net.lamgc.utils.event`
63+
Introduction: Event Utils is a simple, general-purpose event system that can quickly add flexible event functions to a project.The event system is similar to the event system of the Bukkit API.
64+
65+
- `BasicEventHandlerList` - Built-in default EventHandlerList.
66+
- `EventExecutor` - Event executor, used to post events to event methods.
67+
- `EventHandler` - An empty interface required to implement an event handler, used to identify that a class contains event methods.
68+
- `EventObject` - An empty interface required to implement events, used to identify a class as an event object, and passed to the event method as parameters.
69+
- `EventHandlerList` - List interface for storing event methods, which can be implemented to change the storage method.
70+
- `EventHandlerObjectMap` - Map interface that stores EventHandler objects.
71+
- `EventInvokeException` - It is used to wrap the information thrown by the event method, and it is handed over to the EventUncaughtExceptionHandler.
72+
- `EventUncaughtExceptionHandler` - An exception handling interface for handling event method exceptions.
73+
- `HashHandlerObjectMap` - Built-in default EventHandlerObjectMap, implemented by HashMap.
74+
75+
## LICENSE ##
76+
This project complies with the `Apache 2` license
77+
```
78+
Copyright 2019 LamGC
79+
80+
Licensed under the Apache License, Version 2.0 (the "License");
81+
You must not use the project and the files in the project except in compliance with the License.
82+
You may obtain a copy of the License at
83+
84+
http://www.apache.org/licenses/LICENSE-2.0
85+
86+
Unless required by applicable law or agreed to in writing, software
87+
distributed under the License is distributed on an "AS IS" BASIS,
88+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
89+
See the License for the specific language governing permissions and
90+
limitations under the License.
91+
```

0 commit comments

Comments
 (0)