Protect your C and C++ WebAssembly builds
TrustSig Protect obfuscates your Emscripten module and virtualizes the functions you pick, to protect your native code against reverse engineering.
Solver::Optimizef_4a10Licensing::Checkf_ce83Pricing::Evaluatef_17b5KeyStore::Unsealf_92da
app.wasmSaved and read by anyone
C and C++ compiled to WebAssembly can be downloaded and decompiled
A WebAssembly module reaches the browser as a file like any other.
Anyone can save the module your page loads and open it in free tools.
Names, imports and strings survive the compile and show what each part of it does.
The structure of your native code is there to read.
- Licence checkProtected
- Paywall logicProtected
- Key handlingProtected
- Page layoutUntouched
- AnalyticsUntouched
Protect only the functions you choose
Protection applies to the functions you pick, and the rest of the module is unchanged.
You mark the parts to protect: solvers, pricing, licence checks.
The rest of the module stays as your build produced it.
That keeps the output close to the size you ship today.
LICENSE_EXPIREDenc:8f2c…api.internal.keyenc:41ab…solver_v7_seedenc:d073…
Protect names, structure and strings with obfuscation
Names are removed, control flow is hidden and strings are encrypted.
Function, import and export names are stripped or randomised.
Control-flow flattening hides the order your code runs in.
Sensitive values stay encrypted and are decrypted only when they are used.
What TrustSig Protect adds to your module
- Virtualization
- The functions you pick run as bytecode in a virtual machine unique to your build.
- Control-flow flattening
- Hides the order your code runs in.
- Symbol scrubbing
- Function, import and export names are stripped or randomised.
- String encryption
- Sensitive values stay encrypted and are decrypted only when they are used.
- Compact output
- Virtualization applies only to the functions you pick, so the module stays close to its original size.
- Polymorphic builds
- Each build comes out different, down to the layout of the bytecode.
Emscripten builds, answered
Protect works on WebAssembly, which is what an Emscripten build produces.
No. You choose which functions to protect, and nothing about the way they are written changes.
Virtualization applies only to the functions you pick, so the rest of the module is unchanged.
Code running inside the engine is slower than plain WebAssembly, which is why it belongs on the logic worth hiding rather than on an inner loop.
Talk to us
Tell us what your module does and what needs protecting. We will get back to you by email.