SDK Integration
Content Security Policy
The Hinkal SDK depends on snarkjs, a powerful library that enables local zero-knowledge proving in both browser and Node.js environments. Snarkjs leverages WebAssembly to perform complex cryptographic computations efficiently.
As a result, any client-side application integrating the Hinkal SDK must adjust its Content-Security-Policy to allow the ‘wasm-unsafe-eval’ directive under the script-src setting. This configuration ensures that the cryptographic processes can execute properly.
Last updated