I have an .so library. I need to make it available to use in PHP code. So, as I think, I need to wrap that library into a PHP module. I have a library and C++ examples how to use it. Both in attached file.
May be it's simplier to make a console utility. There is no difference for me.
I need only encreyption/decryption and veryfy/sign functions.