I'm using sockets and it's working fine, but I don't understand the encryption system.
Code: Select all
get "textheres"
encrypt it using "aes256" with "passhere"
write it & return to socket "127.0.0.1:2001"
If I specify the salt as below, it uses that salt, and it seems partially visible in cleartext, but again I'm not sure because it's only partially visible, the server still needs to be provided with the salt somehow.
Code: Select all
get "textheres"
encrypt it using "aes256" with "passhere" and salt "saltedhere"
write it & return to socket "127.0.0.1:2001"
Now, it seems that sometimes the string also contains other characters such as carriage returns and EOL's, and this too has me confused, and that part IS messing with the socket, when it drops a return in the string.
Can someone explain to me what's going on?