Well I disabled encryption alltogether, sending and receiving an encoded array instead. Upon trying to decode I still get an error, and looking at what I get back, it LOOKS like an encoded array. They is just something wrong with the data. Curiously, if I just send and receive plain text it works every time.
Bob S > On Jul 8, 2022, at 16:35 , Mark Wieder via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On 7/8/22 16:14, Bob Sneidar via use-livecode wrote: > >> My suspicion is that the hash contains a linefeed (sometimes). So the >> question I have is, what character is GUARANTEED to NOT be in an aes256 hash? > > Not a valid question. > > If you really need to send binary data over a socket connection, start by > sending a header that contains the data length. Extract that and then read > that many bytes. > > -- > Mark Wieder > ahsoftw...@gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode