KMatle Expert Licensed User Longtime User Mar 22, 2019 #1 I'm just developing Inline C methods to en-/decrypt AES 256 including hashed passwords and IV compatible to B4x. Works like a charm (will post it later when it's ready) but I am too dumb to do calls with the matching types (but I'm able to return everything). I need an example how to call these types (in one call): char plaintext[256] (from a string) char *pw (from a string) uint8_t iv[16] (from a byte array)
I'm just developing Inline C methods to en-/decrypt AES 256 including hashed passwords and IV compatible to B4x. Works like a charm (will post it later when it's ready) but I am too dumb to do calls with the matching types (but I'm able to return everything). I need an example how to call these types (in one call): char plaintext[256] (from a string) char *pw (from a string) uint8_t iv[16] (from a byte array)
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2019 #2 Create a B4R sub that sets the values in a process global variables and calls the native C method. Upvote 0