Encrypt Property Text

By default, properties (including passwords) are sent in plain text from the client application to the servlet. To use AES encryption on the text, do the following:

1. In the sample node.js-based application (in the rtvapm\sampleapps\propeditor directory), set the cryptKey variable to the key you want to use for the AES encryption.

The application might clip or pad this key as needed in order to generate a 16 element byte array that can be used by AES encryption.

2. In the data server's rtvservers.dat file, pass the value you used for cryptKey into the command line using the -propkey command line argument on the data server line.

You can either enter the key in plain text or you can scramble it using the encode_string command line utility.

For example, you could pass in -propkey:propertyKeyValue. Or you could scramble the key as follows on the command line: encode_string propertyKeyValue

which returns this value:

01343013550134901335013330134801335013500134601331013490134901353013450134801334.

You can then use that value on the command line instead: -propkey:01343013550134901335013330134801335013500134601331013490134901353013450134801334