Options
All
  • Public
  • Public/Protected
  • All
Menu

External module net/crypto

Index

Variables

Const INCOMING_KEY

INCOMING_KEY: "c79332b197f92ba85ed281a023" = "c79332b197f92ba85ed281a023"

The RC4 Private Key to decrypt incoming packet data. This key is a Hex String, so should be converted to a Buffer for use.

example

const key = Buffer.from(INCOMING_KEY, 'hex');

Const OUTGOING_KEY

OUTGOING_KEY: "6a39570cc9de4ec71d64821894" = "6a39570cc9de4ec71d64821894"

The RC4 Private Key used to encrypt outgoing packet. This key is a Hex String, so should be converted to a Buffer for use.

example

const key = Buffer.from(OUTGOING_KEY, 'hex');

Const PUBLIC_KEY

PUBLIC_KEY: string = '-----BEGIN PUBLIC KEY-----\n' +'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCKFctVrhfF3m2Kes0FBL/JFeO' +'cmNg9eJz8k/hQy1kadD+XFUpluRqa//Uxp2s9W2qE0EoUCu59ugcf/p7lGuL99Uo' +'SGmQEynkBvZct+/M40L0E0rZ4BVgzLOJmIbXMp0J4PnPcb6VLZvxazGcmSfjauC7' +'F3yWYqUbZd/HCBtawwIDAQAB\n' +'-----END PUBLIC KEY-----'

Generated using TypeDoc