mtwin-net-codec
v0.0.1
Published
An implementation of mt.net.Codec
Downloads
2
Readme
Codec implement of mt.net.Codec
This is the first generation of the Codec used by Motion-Twin to encrypt
client<>server
exchanges in their games.
Note
If you are looking for how to use it, you can look at some examples in the unit tests.
Constructor
new Codec(key: String)
Variables
// The key used for encoding and decoding a string.
private key: Array
Methods
// return the encoded or decoded `text` string based on `key`.
public run(text: String): String