Hello,
I’ve been using k6 to test backend performance at my company for about a year now, but now as we are nearing production the backend enforces strict encryption in a lot of workflows.
Long story short, I need to be able to encrypt and decrypt payloads using AES256-GCM and RSA. I was planning to use node-forge, as I already had a good implementation for other tests, but I realized that I can’t bundle any node modules that use browser specific objects. Sadly I couldn’t find a pure javascript library that implements AES GCM operation mode anywhere, so I’m stuck.
Could anyone offer some advice as on how to proceed from here with k6? What would be the most performance friendly way to use advanced encryption with k6?
I’ve been thinking about making a shell script that uses openssl or hosting a local server that only does the encryption.