>Yes. You are using Strconv(,16) on the return value from Encrypt() before sending it to the Decrypt() function. That's wrong because Encrypt doesn't return hex encoded binary. Your line of code should read...
>
>
>?decrypt(encrypt(m.lcPlainText, STRCONV(m.lcKey,16), 0, 0, 0, 16, 16),STRCONV(m.lcKey,16), 0, 0, 0, 16, 16)
>
>
>However, your post does highlight the need for better error handling in the FLL. I'm working on that for this FLL and others.
Thanks a lot. BTW, when I corrected that error, your FLL worked great.
If it's not broken, fix it until it is.
My Blog