Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Encrypting a Net argument
#1
Hi,
I have been sucessfully sending a string between two computers using the net function e.g.

Code:
Copy      Help
net(sampleIP "password" "TargetFunction" 0 SampleString)

and receiving it as:


Code:
Copy      Help
function $SampleString


on the receiving computer.

I would like now to encrypt the string when passing it over the network.

For some reason the encrypt/decrypt function is not working.


I have tried:

Code:
Copy      Help
str SampleString SampleEncryptionKey
SampleString.encrypt(1 SampleString SampleEncryptionKey)
net(sampleIP "password" "TargetFunction" 0 SampleString)

and on receiving end decrypting it with same function in the Target function on the receiving computer. For some reason, however, I keep on receiving an empty string in the receiving function.

Any ideas on what the right way to do this would be great!

Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)