<!doctype html><htmllang=en-us><head><metacharset=utf-8><metahttp-equiv=x-ua-compatiblecontent="ie=edge"><metaname=viewportcontent="width=device-width,initial-scale=1,shrink-to-fit=no"><linkrel=preloadas=fonthref=/fonts/vendor/jost/jost-v4-latin-regular.woff2type=font/woff2crossorigin><linkrel=preloadas=fonthref=/fonts/vendor/jost/jost-v4-latin-700.woff2type=font/woff2crossorigin><linkrel=stylesheethref=/main.7a413a9a97a3360893a7e50ee5892da80e0f60349c21739810858ee555d5270e89e0c97966ba1460d57cb94acdf9f6b06e0c8dc2e4fca17a8b59c438b9200f3e.cssintegrity="sha512-ekE6mpejNgiTp+UO5YktqA4PYDScIXOYEIWO5VXVJw6J4Ml5ZroUYNV8uUrN+fawbgyNwuT8oXqLWcQ4uSAPPg=="crossorigin=anonymous><noscript><style>img.lazyload{display:none}</style></noscript><metaname=robotscontent="index, follow"><metaname=googlebotcontent="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"><metaname=bingbotcontent="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"><title>pow_sha256 - mCaptcha</title><metaname=descriptioncontent="API documenttion for PoW Library used in mCaptcha"><linkrel=canonicalhref=/docs/api/pow-sha256/><metaname=twitter:cardcontent="summary_large_image"><metaname=twitter:imagecontent="/icon.png"><metaname=twitter:titlecontent="pow_sha256"><metaname=twitter:descriptioncontent="API documenttion for PoW Library used in mCaptcha"><metaname=twitter:sitecontent="@"><metaname=twitter:creatorcontent="@"><metaproperty="og:title"content="pow_sha256"><metaproperty="og:description"content="API documenttion for PoW Library used in mCaptcha"><metaproperty="og:type"content="article"><metaproperty="og:url"content="/docs/api/pow-sha256/"><metaproperty="og:image"content="/icon.png"><metaproperty="article:published_time"content="2021-03-11T00:00:00+00:00"><metaproperty="article:modified_time"content="2022-08-01T20:24:18+05:30"><metaproperty="og:site_name"content="mCaptcha"><metaproperty="article:publisher"content="https://www.facebook.com/"><metaproperty="article:author"content="https://www.facebook.com/"><metaproperty="og:locale"content="en_US"><scripttype=application/ld+json>{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"\/"},{"@type":"ListItem","position":2,"name":"Docsapipow Sha256","item":"\/docsapipow-sha256\/"}]}</script><metaname=theme-colorcontent="#fff"><linkrel=apple-touch-iconsizes=180x180href=/apple-touch-icon.png><linkrel=icontype=image/pngsizes=32x32href=/favicon-32x32.png><linkrel=icontype=image/pngsizes=16x16href=/favicon-16x16.png><linkrel=manifesthref=/site.webmanifest></head><bodyclass="docs single"><divclass="header-bar fixed-top"></div><headerclass="navbar fixed-top navbar-expand-md navbar-light"><divclass=container><inputclass="menu-btn order-0"type=checkboxid=menu-btn>
<ahref=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><h2id=versions>Versions<ahref=#versionsclass=anchoraria-hidden=true>#</a></h2><ul><li><ahref=https://mcaptcha.github.io/pow_sha256/pow_sha256/index.html>master-branch</a></li><li><ahref=/api-docs/pow_sha256/0.2.1/pow_sha256/index.html>0.2.1</a></li><li><ahref=/api-docs/pow_sha256/0.2.0/pow_sha256/index.html>0.2.0</a></li><li><ahref=/api-docs/pow_sha256/0.1.0/pow_sha256/index.html>0.1.0</a></li></ul><h2id=changelog>Changelog<ahref=#changelogclass=anchoraria-hidden=true>#</a></h2><p>Changelog is available at the project’s
<ahref=https://github.com/mCaptcha/pow_sha256/blob/master/CHANGELOG.md>repository</a></p><pclass=edit-page><ahref=https://git.batsense.net/mCaptcha/website/blob/master/content/docs/API/pow-sha256.md><svgxmlns="http://www.w3.org/2000/svg"width="16"height="16"viewBox="0 0 24 24"fill="none"stroke="currentcolor"stroke-width="2"stroke-linecap="round"stroke-linejoin="round"class="feather feather-edit-2"><pathd="M17 3a2.828 2.828.0 114 4L7.5 20.5 2 22l1.5-5.5L17 3z"/></svg>Edit this page on git.batsense.net</a></p><divclass="docs-navigation d-flex justify-content-between"><ahref=/docs/api/mcaptcha-system/><divclass="card my-1"><divclass="card-body py-2">← mCaptcha System Library</div></div></a><aclass=ms-autohref=/docs/help/faq/><divclass="card my-1"><divclass="card-body py-2">FAQ →</div></div></a></div></main></div></div></div><footerclass="footer text-muted"><divclass=container><divclass=row><divclass="col-lg-8 order-last order-lg-first"><ulclass=list-inline><liclass=list-inline-item>Powered by <ahref=https://gohugo.io/>Hugo</a>, and <ahref=https://getdoks.org/>Doks</a></li></ul></div><divclass="col-lg-8 order-first order-lg-last text-lg-end"><ulclass=list-inline><liclass=list-inline-item><ahref=/about/>About</a></li><liclass=list-inline-item><ahref=/donate>Donate</a></li><liclass=list-inline-item><ahref=/privacy-policy/>Privacy</a></li><liclass=list-inline-item><ahref=/security>Security</a></li><liclass=list-inline-item><ahref=https://stats.uptimerobot.com/GK7VLFJnBl>Status</a></li><liclass=list-inline-item><ahref=/thanks>Thanks</a></li></ul></div></div></div></footer><scriptsrc=/main.min.993b2b4c58b07e7a4bb3423cf18ccd78a85d0063680c0fc9bf6d9cc02be98e08793034d984dd8f7c60ad5b70f3186cc8bc280b1077b7e37c2d64f36f118099bb.jsintegrity="sha512-mTsrTFiwfnpLs0I88YzNeKhdAGNoDA/Jv22cwCvpjgh5MDTZhN2PfGCtW3DzGGzIvCgLEHe343wtZPNvEYCZuw=="crossorigin=anonymousdefer></script><scriptsrc=/index.min.9f6ca8d18a9feb4c8173940752baf80e8075b025ffbfcec12016beb0c2f8f794667102d45eb9accca8c374b0dd7a69af667e0f20813fb4fb086e6cda5230e2d8.jsintegrity="sha512-n2yo0Yqf60yBc5QHUrr4DoB1sCX/v87BIBa+sML495RmcQLUXrmszKjDdLDdemmvZn4PIIE/tPsIbmzaUjDi2A=="crossorigin=anonymousdefer></script></body></html>