API on //localhost:1313/docs/api/ Recent content in API on Hugo en-US Mon, 01 Aug 2022 20:24:18 +0530 Browser libraries //localhost:1313/docs/api/browser/ Thu, 11 Mar 2021 00:00:00 +0000 //localhost:1313/docs/api/browser/ <p>The browser part of mCaptcha is divided into three components.</p> <ul> <li>Glue code</li> <li>Widget program</li> <li>Proof-of-Work libraries(WebAssembly and JavaScript polyfill)</li> </ul> <h2 id="glue-code">Glue code</h2> <p>This is the code that links mCaptcha with your website&rsquo;s frontend code. It creates an <code>iframe</code> containing the mCaptcha widget and injects the received verification proof token into a hidden input field.</p> <p>Support is available for various frameworks, see <a href="https://github.com/mCaptcha/glue"><code>mCaptcha/glue</code></a> for the full list.</p> mCaptcha System Library //localhost:1313/docs/api/mcaptcha-system/ Thu, 11 Mar 2021 00:00:00 +0000 //localhost:1313/docs/api/mcaptcha-system/ <p>Documentation for the library used in mCaptcha core.</p> <h2 id="versions">Versions</h2> <ul> <li><a href="https://mcaptcha.github.io/mCaptcha/m_captcha/index.html">master-branch</a></li> <li><a href="//localhost:1313/api-docs/m_captcha/0.1.3/m_captcha/index.html">0.1.3</a></li> <li><a href="//localhost:1313/api-docs/m_captcha/0.1.2/m_captcha/index.html">0.1.2</a></li> <li><a href="//localhost:1313/api-docs/m_captcha/0.1.1/m_captcha/index.html">0.1.1</a></li> <li><a href="//localhost:1313/api-docs/m_captcha/0.1.0/m_captcha/index.html">0.1.0</a></li> </ul> pow_sha256 //localhost:1313/docs/api/pow-sha256/ Thu, 11 Mar 2021 00:00:00 +0000 //localhost:1313/docs/api/pow-sha256/ <p>Rust crate which generates SHA256 Proofs of Work on serializable datatypes.</p> <p>This is a fork of the <a href="https://github.com/bddap/pow"><code>pow</code> library</a> by <a href="https://github.com/robkorn/pow_sha256">@robkorn</a>) with some new additions. Primary of these being:</p> <ul> <li>PoW datatype now offers a constructor</li> <li>Salt is no longer hard coded into the library, users can provide unique salts.</li> </ul> <p>Other small changes have also been included of various importance but mostly just stylistic/ease of use improvements.</p>