From de9899b3c99dd347fa4955bc002f64239b1dd860 Mon Sep 17 00:00:00 2001 From: ME1312 Date: Fri, 30 Jun 2017 07:52:16 -0400 Subject: [PATCH] Updated SubData (markdown) --- SubData.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SubData.md b/SubData.md index 1588bf8..b1ef0ac 100644 --- a/SubData.md +++ b/SubData.md @@ -17,5 +17,11 @@ 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()`. +### AES 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 protocol with AES and converting the output to Base64 for compatibility reasons. Here is an example of what this type of encryption can do for you: +`{"v":"2.11.0a","h":"SubDownloadLang"}` +This simple language file request now becomes: +`IKT1NyjogzyN4NipY2S5QPBHs1yHisCTtSeYsKlRGua//JaBuL6JGDQX+YlllY6TgO8FuwplFVwr/L821rdNLhAHNO7F2plutLZ7/+L+sXYNQjEd+fvPHio=` + ## SubData WebDirect This edition of SubData uses the same JSON protocols as SubData Direct, however the connection is handled by WebSockets instead of raw TCP connections. This effectively makes SubData compatible with things like web browsers. This edition is not included in SubServers and is [available for download here](https://github.com/ME1312/SubServers-2/tree/master/Artifacts). \ No newline at end of file