Lua bytecode encryption and decryption requires ensuring that the same version of Lua or Luajit is used for both operations. If you used Luajit when encrypting, you should use the same version of Luajit when decrypting.

The cannot load incompatible bytecode error is usually caused by trying to load bytecode between different versions of Lua or Luajit. Make sure to use the same version of Luajit during both encryption and decryption.

If your Nginx uses OpenResty, OpenResty includes a specific version of Luajit. In this case, you need to make sure you use the same version of Luajit to encrypt and decrypt the Lua bytecode.

Please check which version of Lua or Luajit you are using and make sure you are using the same version of the tool when encrypting and decrypting

Likes(0)

Comment list count 0 Comments

No Comments