Encrypt using secretbox

Hey community!
I’m trying to using a secretbox encryption. It’s not offer as part of k6/crypto.
I don’t want to use webpack due to the implied risks.
Is there any other possibility/workaround?

Thanks!

Hi @as123, welcome to the community forum!

I would recommend either using a JS polyfill or making an extension. I am not certain that the future WebCrypto module will help you.

I don’t want to use webpack due to the implied risks.

what is the implied risk here? Also I guess by this you mean you don’t want to use a js polyfill?

1 Like