added custom encryption/decryption

This commit is contained in:
2021-06-06 23:53:56 -05:00
parent 9ea1e98d0a
commit d2c4c5e57a
3 changed files with 34 additions and 8 deletions

View File

@@ -3,8 +3,9 @@ import connection from './networking/connection';
import connection_pool from './networking/connection_pool';
import * as ops from './ops';
export { default as packet } from './networking/packet';
export * as byte_order from './utils/byte_order';
export { getCustomEncryption, setCustomEncryption } from './utils/constants';
export { default as packet } from './networking/packet';
export const connect = async (host_or_ip, port, password) => {
const conn = new connection(host_or_ip, port, password);