Using Encryption With AppStudio/Voltbuilder

I use AppStudio/JavaScript/Voltbuilder for development.

I would like to be able to:

  • Encrypt a PDF File
  • Encrypt a JSON File
  • Encrypt a QR Code
  • Decrypt all of the above

Any Ideas?

You’ll need to use a JavaScript library for this.

Take a look at GitHub - paragonie/sodium-plus: Developer-friendly libsodium interface · GitHub .

It also has a PHP counterpart, so it is useful if you need to encrypt on one end (JS/PHP) and decrypt on the other end.