When using the the method SymmetricEncrypt, the blob that is returned is in chinese.
I have put the following script in the clicked event and show the result in the textobject st_1:
Blob lblb_data
Blob lblb_key
Blob lblb_iv
Blob lblb_encrypt
lblb_data = Blob("text", EncodingUTF16LE! )
lblb_key = Blob("Test Key12345678", EncodingUTF16LE! )
lblb_iv = Blob("Test IV 12345678", EncodingUTF16LE! )
CrypterObject lnv_CrypterObject
lnv_CrypterObject = Create CrypterObject
lblb_encrypt = lnv_CrypterObject.SymmetricEncrypt(AES!, lblb_data, lblb_key)
st_1.text = string(lblb_encrypt)
This screenshoot is what it look like:
What am I doing wrong?