Skip to content

jslba/mtwin-net-codec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codec implement of mt.net.Codec

npm tests GitHub

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

About

An implementation of mt.net.Codec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published