mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-28 21:26:01 +01:00
Updated SubData (markdown)
parent
675dee1b5c
commit
743a1939dd
@ -22,10 +22,10 @@ This is the current edition of SubData. SubServers.Bungee opens a TCP port (defa
|
||||
Of course, SubAPI handles this all for you, but if you are looking to create a custom application this information may be useful to you. The SubAPI way to create a packet is to create a new class and implement `PacketIn` and/or `PacketOut` and register it via `SubData.registerPacket()`.
|
||||
|
||||
### Encryption
|
||||
SubData supports AES 128, 192, and 256 bit password-based encryption if you need to turn up the security. It does this by encrypting the previously mentioned JSON packets with AES before converting the output to Base64. Here is an example of what this type of encryption can do for you: (256 bit AES)<br>
|
||||
`{"v":"2.11.0a","h":"SubDownloadLang"}`<br>
|
||||
SubData supports AES 128, 192, and 256 bit password-based encryption if you need to turn up the security. It does this by encrypting the previously mentioned JSON packets with AES before converting the output to Base64. Here is an example of what this type of encryption can do for you:<br>
|
||||
`{"n":"subservers","h":"DownloadLang","v":"2.11.0a"}`<br>
|
||||
This simple language file request now becomes:<br>
|
||||
`IKT1NyjogzyN4NipY2S5QPBHs1yHisCTtSeYsKlRGua//JaBuL6JGDQX+YlllY6TgO8FuwplFVwr/L821rdNLhAHNO7F2plutLZ7/+L+sXYNQjEd+fvPHio=`<br>
|
||||
`eyJoIjoiRG93bmxvYWRMYW5nIiwibiI6InN1YnNlcnZlcnMiLCJ2IjoiMi4xMS4wYSJ9`<br>
|
||||
|
||||
For some installs, java has disabled 192 and/or 256 bit encryption. You can download a fix for this [here](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html). For more information, [click here](https://crypto.stackexchange.com/questions/20524/why-there-are-limitations-on-using-encryption-with-keys-beyond-certain-length).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user