CryptoEx- Compiling Error

normando67

Member
Licensed User
Hi Guys,

I have been playing around with agraham's CryptoEx Library and I'm getting an error when I try to compile my project, but if I only run it, every thing runs like a charm. Could you please help me to figure out what is going on? :confused:
I´m attaching a screen capture an my code in a zip.

Thank You.

EDIT: I'm using Optimized Compilation.
 

Attachments

  • detalle-error.PNG
    detalle-error.PNG
    19.5 KB · Views: 153
Last edited:

agraham

Expert
Licensed User
Longtime User
The IDE is more tolerant than the optimised compiler of syntax errors.

B4X:
key() = RSA.ImportKey(key()) ' this is wrong, there is no return value from ImportKey

RSA.ImportKey(key()) ' this is correct, it imports the contents of key() into theRSA object
 

normando67

Member
Licensed User
Thank you very much agraham. Now every thing is working fine. :)
 
Top