Hi guys...
I am stuck at this...
I have a crypto module to encrypt and decrypt some data...
The encrypt works fine and I get the encrypted data and encrypted key as an array and the save it as a single line string, seperating the values with commas.
My problem is that even Dimming the Array as Byte, when I load and seperate the values to the array, they are "read" as string and not as byte..
how can i Change the data type without changing the values?????
Example:
String="122,10,4,23,65,9,76,88" 'each individual value is a BYTE
Key()=StrPlit(String,",") ' EVEN if i declare this as a Byte array, it gets treated as strings...
I am stuck at this...
I have a crypto module to encrypt and decrypt some data...
The encrypt works fine and I get the encrypted data and encrypted key as an array and the save it as a single line string, seperating the values with commas.
My problem is that even Dimming the Array as Byte, when I load and seperate the values to the array, they are "read" as string and not as byte..
how can i Change the data type without changing the values?????
Example:
String="122,10,4,23,65,9,76,88" 'each individual value is a BYTE
Key()=StrPlit(String,",") ' EVEN if i declare this as a Byte array, it gets treated as strings...