TinyAES Wrapper

About Monkey 2 Forums Monkey 2 Code Library TinyAES Wrapper

Tagged: , ,

This topic contains 3 replies, has 3 voices, and was last updated by  skn3 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #10187


    So, I found this “simple” AES encryption for C. Thought I would try and wrap it to Monkey.

    Clone the git, move aes.c and aes.h into the same folder as this following code. Note: UNTESTED But COMPILED THIS IS WAAY BEYOND MY SCOPE. xD

    Still not sure how to pass the arguments or even use the library, but it compiles just fine on Windows 10.
    I tried using a DataBuffer.Data(Ubyte Ptr) for the data input/output, but that didn’t work. But I’m sure it can be made too just using this module.

    EDIT: Please see skn3’s version here:  LINK



    Great, did you manage to get it working yet?



    No, I don’t think I can get it to work given my limited knowledge of the subject. I think I might have to adapt the actual C code to a more Monkey friendly source. I just figured I’d try it out and see if anyone could help. I think Encryption is important. Passing the arguments is my current problem, the compiler transforms a DataBuffer.Data Ptr to a “const char *” which causes problems…
    Maybe Mark has a few pointers? Pun intended.



    Please see here:

    tiny AES module

    You were nearly there!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.