I am fairly new to Arduino, and I am using it to implement a cryptography modular arithmetic operations such as modular addition, multiplication, and inverse on modulus-size 256. I am looking for library functions that represents modular addition and mutliplication. Anyone have an experience with this? Please let me know
I moved your topic to an appropriate forum category @mona-1.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
There are a number of encryption/cryptography libraries for Arduino, and some may have functions that do what you like.
Arduino is standard C/C++ (except that certain file and console I/O functions are not implemented) so in principle, any standard math library can be compiled and used.
Thanks and sorry about that
You mean I can add the Crypto++ library?
I don't know what you mean by "add the library".
Try compiling the code.
Are you sure that you can reverse these operations to recover the original content?
No! I cannot reverse these operations.
Funny single way encryption, encrypt once - decrypt never?
Addition of type 'unsigned char' in C is modulo 256.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.