Files
common/docs/assets/js/154.c77bbd22.js
T
2019-02-28 12:19:16 +00:00

1 line
2.0 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[154],{500:function(e,r,t){"use strict";t.r(r);var n=t(37),s=Object(n.a)({},function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"functions"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#functions","aria-hidden":"true"}},[e._v("#")]),e._v(" Functions")]),e._v(" "),t("p",[t("a",{attrs:{id:"schnorrkelverify"}})]),e._v(" "),t("h2",{attrs:{id:"schnorrkelverify"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#schnorrkelverify","aria-hidden":"true"}},[e._v("#")]),e._v(" schnorrkelVerify")]),e._v(" "),t("p",[e._v("▸ "),t("strong",[e._v("schnorrkelVerify")]),e._v("(message: "),t("em",[t("code",[e._v("Uint8Array")])]),e._v(", signature: "),t("em",[t("code",[e._v("Uint8Array")])]),e._v(", publicKey: "),t("em",[t("code",[e._v("Uint8Array")])]),e._v("): "),t("code",[e._v("boolean")])]),e._v(" "),t("p",[t("em",[e._v("Defined in "),t("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/db4b221/packages/util-crypto/src/schnorrkel/verify.ts#L11",target:"_blank",rel:"noopener noreferrer"}},[e._v("schnorrkel/verify.ts:11"),t("OutboundLink")],1)])]),e._v(" "),t("p",[t("em",[t("strong",[e._v("name")])]),e._v(": schnorrkelVerify")]),e._v(" "),t("p",[t("em",[t("strong",[e._v("description")])]),e._v(": Verifies the signature of "),t("code",[e._v("message")]),e._v(", using the supplied pair")]),e._v(" "),t("p",[t("strong",[e._v("Parameters:")])]),e._v(" "),t("table",[t("thead",[t("tr",[t("th",[e._v("Name")]),e._v(" "),t("th",[e._v("Type")])])]),e._v(" "),t("tbody",[t("tr",[t("td",[e._v("message")]),e._v(" "),t("td",[t("code",[e._v("Uint8Array")])])]),e._v(" "),t("tr",[t("td",[e._v("signature")]),e._v(" "),t("td",[t("code",[e._v("Uint8Array")])])]),e._v(" "),t("tr",[t("td",[e._v("publicKey")]),e._v(" "),t("td",[t("code",[e._v("Uint8Array")])])])])]),e._v(" "),t("p",[t("strong",[e._v("Returns:")]),e._v(" "),t("code",[e._v("boolean")])]),e._v(" "),t("hr")])},[],!1,null,null,null);r.default=s.exports}}]);